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.001618/0.001618, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002045/0.002045, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001611/0.001611, allocations: 51.92 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2463, allocations: 53.36 MB / 431.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003899/0.2502, allocations: 2.604 MB / 434.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2516, allocations: 0.7283 MB / 434.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2517, allocations: 7.938 kB / 434.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.2518, allocations: 71.34 kB / 435 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.252, allocations: 95.06 kB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.2524, allocations: 131.8 kB / 435.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.2529, allocations: 446.9 kB / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.2532, allocations: 165.2 kB / 435.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.2535, allocations: 191.4 kB / 436 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.2538, allocations: 207.1 kB / 436.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-05/0.2538, allocations: 48 kB / 436.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2539, allocations: 48 kB / 436.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.254, allocations: 103.7 kB / 436.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.2542, allocations: 179.3 kB / 436.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.2548, allocations: 0.5121 MB / 437.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2548, allocations: 0 / 437.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2548, allocations: 0 / 437.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.2548, allocations: 0 / 437.1 MB, free: 1.234 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.001176/0.256, allocations: 0.6224 MB / 437.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.256, allocations: 8.031 kB / 437.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.2563, allocations: 60.64 kB / 437.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.2566, allocations: 218.6 kB / 438 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.2566, allocations: 33.38 kB / 438 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.2567, allocations: 44.33 kB / 438 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/0.2576, allocations: 0.6206 MB / 438.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2576, allocations: 0 / 438.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.2577, allocations: 20 kB / 438.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.2577, allocations: 12 kB / 438.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.2582, allocations: 279.9 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.2602, allocations: 1.092 MB / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.2607, allocations: 227.3 kB / 440.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.261, allocations: 172.8 kB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2611, allocations: 3.984 kB / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.2611, allocations: 42.56 kB / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.2611, allocations: 0 / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001546/0.2626, allocations: 482.4 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.2628, allocations: 239.3 kB / 441.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.263, allocations: 175.3 kB / 441.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.2631, allocations: 29.7 kB / 441.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.2632, allocations: 212.5 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.2633, allocations: 107 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2634, allocations: 65.69 kB / 441.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2636, allocations: 330.8 kB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.2638, allocations: 75.95 kB / 442.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.2641, allocations: 337.5 kB / 442.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.2645, allocations: 200.2 kB / 442.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2645, allocations: 4 kB / 442.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004953/0.265, allocations: 273.1 kB / 443 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.265, allocations: 11.94 kB / 443 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.265, allocations: 0 / 443 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.265, allocations: 4 kB / 443 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.2654, allocations: 83.95 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2654, allocations: 4 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.2656, allocations: 31.77 kB / 443.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.2656, allocations: 12 kB / 443.1 MB, free: 10.77 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.0001672/0.2658, allocations: 153.8 kB / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.2658, allocations: 27.8 kB / 443.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.2659, allocations: 26.66 kB / 443.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.2659, allocations: 4 kB / 443.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.2659, allocations: 3.938 kB / 443.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.2659, allocations: 11.92 kB / 443.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.267, allocations: 0.6382 MB / 444 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.267, allocations: 0 / 444 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.2673, allocations: 47.97 kB / 444 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003559/0.2676, allocations: 88.8 kB / 444.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.2677, allocations: 4 kB / 444.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.2699, allocations: 1.835 MB / 446 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.2699, allocations: 3.938 kB / 446 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.2707, allocations: 498.2 kB / 446.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.2708, allocations: 27.86 kB / 446.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.2708, allocations: 8.062 kB / 446.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2709, allocations: 15.98 kB / 446.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.271, allocations: 27.89 kB / 446.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.271, allocations: 8.125 kB / 446.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.2712, allocations: 136.3 kB / 446.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2712, allocations: 3.938 kB / 446.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004219/0.2716, allocations: 115.7 kB / 446.8 MB, free: 6.93 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.0001632/0.2718, allocations: 103.2 kB / 446.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.2722, allocations: 203.8 kB / 447.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2722, allocations: 0 / 447.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.2727, allocations: 262.5 kB / 447.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2731, allocations: 31.92 kB / 447.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.2746, allocations: 0.8512 MB / 448.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.2748, allocations: 184.8 kB / 448.4 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.953e-05/0.2749, allocations: 17.95 kB / 448.4 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.2749, allocations: 19.44 kB / 448.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2749, allocations: 4 kB / 448.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of Templates: time 0.008258/0.2832, allocations: 3.551 MB / 452 MB, free: 1.672 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 -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.65657402202487]