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.001314/0.001314, allocations: 107 kB / 21.18 MB, free: 0.5234 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.001475/0.001475, allocations: 205.2 kB / 24.47 MB, free: 3.695 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.00157/0.00157, allocations: 51.94 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2258, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.006638/0.2325, allocations: 2.599 MB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.2347, allocations: 0.7282 MB / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.2349, allocations: 12 kB / 435.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.2351, allocations: 59.42 kB / 435.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.2355, allocations: 99.05 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.236, allocations: 119.8 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007999/0.2368, allocations: 458.8 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.2373, allocations: 173.2 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004099/0.2377, allocations: 183.4 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.2381, allocations: 211.1 kB / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.2382, allocations: 44 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.2384, allocations: 52 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.2385, allocations: 103.7 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.2388, allocations: 175.2 kB / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009191/0.2397, allocations: 0.5125 MB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2397, allocations: 0 / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2397, allocations: 0 / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.2397, allocations: 0 / 437.8 MB, free: 1.215 MB / 334.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.001812/0.2415, allocations: 0.6224 MB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2416, allocations: 12.03 kB / 438.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/0.242, allocations: 56.64 kB / 438.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.2425, allocations: 218.7 kB / 438.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.2426, allocations: 37.38 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.2427, allocations: 44.33 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.2442, allocations: 0.6206 MB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.2442, allocations: 0 / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.717e-05/0.2443, allocations: 16 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.2443, allocations: 8 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.2453, allocations: 291.8 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.2486, allocations: 1.092 MB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007817/0.2494, allocations: 223.4 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/0.25, allocations: 168.8 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.2501, allocations: 4 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.2501, allocations: 42.55 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.465e-06/0.2501, allocations: 0 / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002553/0.2527, allocations: 482.4 kB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/0.2529, allocations: 235.3 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.2532, allocations: 179.2 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.2532, allocations: 37.7 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.2534, allocations: 204.6 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.2536, allocations: 115 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.2538, allocations: 57.7 kB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.254, allocations: 330.8 kB / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.2543, allocations: 75.97 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.2548, allocations: 345.4 kB / 443.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.2556, allocations: 200.2 kB / 443.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2556, allocations: 0 / 443.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009113/0.2565, allocations: 273.2 kB / 443.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.2565, allocations: 11.88 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2565, allocations: 3.984 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.2565, allocations: 4 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/0.2572, allocations: 79.91 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.2572, allocations: 3.984 kB / 443.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.2575, allocations: 31.78 kB / 443.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.2576, allocations: 16 kB / 443.9 MB, free: 10.75 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.0002699/0.2579, allocations: 153.8 kB / 444 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-05/0.2579, allocations: 27.8 kB / 444 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.2581, allocations: 30.64 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.2581, allocations: 4 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.2581, allocations: 4 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.2581, allocations: 0 / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.26, allocations: 0.6421 MB / 444.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.26, allocations: 4.031 kB / 444.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/0.2605, allocations: 43.97 kB / 444.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/0.2611, allocations: 96.67 kB / 444.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.2611, allocations: 8 kB / 444.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003801/0.2649, allocations: 1.823 MB / 446.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.2649, allocations: 4.031 kB / 446.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2664, allocations: 0.4904 MB / 447.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.2665, allocations: 27.97 kB / 447.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.2666, allocations: 11.94 kB / 447.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.2669, allocations: 8 kB / 447.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.267, allocations: 24.06 kB / 447.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.267, allocations: 20.06 kB / 447.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.2672, allocations: 132.3 kB / 447.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2672, allocations: 0 / 447.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007466/0.268, allocations: 111.7 kB / 447.5 MB, free: 6.91 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 0.0002095/0.2682, allocations: 112.8 kB / 447.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007733/0.269, allocations: 195.8 kB / 447.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.269, allocations: 0 / 447.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.2697, allocations: 266.6 kB / 448.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.2704, allocations: 31.92 kB / 448.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.2728, allocations: 0.855 MB / 449 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.2731, allocations: 176.8 kB / 449.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.2733, allocations: 25.94 kB / 449.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.2734, allocations: 19.44 kB / 449.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2734, allocations: 0 / 449.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of Templates: time 0.01436/0.2877, allocations: 3.559 MB / 452.7 MB, free: 1.645 MB / 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/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.487362810992636]