Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 55.91 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1075, allocations: 53.32 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004101/0.1116, allocations: 2.854 MB / 429.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1129, allocations: 0.7673 MB / 430.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.113, allocations: 4 kB / 430.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.1131, allocations: 63.36 kB / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1134, allocations: 99.03 kB / 430.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.1137, allocations: 131.8 kB / 430.7 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2053/0.319, allocations: 444.3 kB / 431.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.3194, allocations: 160.6 kB / 431.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003997/0.3198, allocations: 190.7 kB / 431.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.32, allocations: 208.8 kB / 431.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.365e-05/0.3201, allocations: 46.03 kB / 431.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.3202, allocations: 52.91 kB / 431.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.3203, allocations: 98.5 kB / 431.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.3205, allocations: 215.9 kB / 432.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.3209, allocations: 0.504 MB / 432.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3209, allocations: 0.9688 kB / 432.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3209, allocations: 0 / 432.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3209, allocations: 0 / 432.6 MB, free: 7.949 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009502/0.3219, allocations: 0.7014 MB / 433.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3219, allocations: 7.906 kB / 433.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.3222, allocations: 59.94 kB / 433.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.3224, allocations: 277.3 kB / 433.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3224, allocations: 33.34 kB / 433.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.3225, allocations: 46.77 kB / 433.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.3231, allocations: 450 kB / 434.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3231, allocations: 3.938 kB / 434.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.3232, allocations: 20.86 kB / 434.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3232, allocations: 13.84 kB / 434.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.3237, allocations: 287.2 kB / 434.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.3253, allocations: 1.301 MB / 435.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.3257, allocations: 219.5 kB / 436 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.326, allocations: 170.1 kB / 436.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.326, allocations: 3.359 kB / 436.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.3261, allocations: 42.23 kB / 436.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.383e-06/0.3261, allocations: 2.438 kB / 436.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001385/0.3274, allocations: 0.5487 MB / 436.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.3275, allocations: 236.9 kB / 437 MB, free: 6.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3277, allocations: 210.6 kB / 437.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3277, allocations: 31.42 kB / 437.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.3278, allocations: 204.7 kB / 437.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.3278, allocations: 110.5 kB / 437.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.3279, allocations: 64.19 kB / 437.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.328, allocations: 331.6 kB / 437.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3281, allocations: 74.23 kB / 438 MB, free: 5.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.3283, allocations: 160.7 kB / 438.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.3286, allocations: 196.4 kB / 438.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3286, allocations: 0 / 438.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004207/0.329, allocations: 279.4 kB / 438.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3291, allocations: 10.19 kB / 438.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3291, allocations: 6.172 kB / 438.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.3291, allocations: 2 kB / 438.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.3294, allocations: 81.03 kB / 438.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3294, allocations: 1 kB / 438.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3296, allocations: 38.45 kB / 438.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3296, allocations: 12.05 kB / 438.7 MB, free: 4.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.3297, allocations: 147.5 kB / 438.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.3298, allocations: 28.23 kB / 438.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.774e-05/0.3298, allocations: 37.66 kB / 439 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3298, allocations: 3.656 kB / 439 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3298, allocations: 5.219 kB / 439 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3298, allocations: 3.438 kB / 439 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/0.3308, allocations: 0.7603 MB / 439.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3308, allocations: 0 / 439.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.3311, allocations: 50.77 kB / 439.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.3314, allocations: 94.34 kB / 439.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3314, allocations: 8.891 kB / 439.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.333, allocations: 1.975 MB / 441.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.333, allocations: 4.016 kB / 441.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/0.3337, allocations: 0.4999 MB / 442.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.3337, allocations: 101.8 kB / 442.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.3338, allocations: 8.141 kB / 442.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3339, allocations: 10.81 kB / 442.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.334, allocations: 25.89 kB / 442.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.334, allocations: 11.36 kB / 442.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.3341, allocations: 151.2 kB / 442.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3341, allocations: 0 / 442.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004201/0.3346, allocations: 113.7 kB / 442.8 MB, free: 1.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.376e-05/0.3347, allocations: 105.4 kB / 442.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.3351, allocations: 201.8 kB / 443.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3351, allocations: 4.625 kB / 443.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.3356, allocations: 265.5 kB / 443.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.3359, allocations: 35.72 kB / 443.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.3371, allocations: 0.8496 MB / 444.2 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.3373, allocations: 0.7846 MB / 445 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.514e-05/0.3373, allocations: 21.91 kB / 445 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.3374, allocations: 21.31 kB / 445 MB, free: 296 kB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3374, allocations: 0 / 445 MB, free: 296 kB / 350.1 MB Notification: Performance of Templates: time 0.007375/0.3448, allocations: 3.191 MB / 448.2 MB, free: 56 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.943978752940893]