Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001761/0.001761, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 63.91 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2442, allocations: 53.41 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003808/0.248, allocations: 2.595 MB / 434.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2493, allocations: 0.7322 MB / 435 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.2494, allocations: 8 kB / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.2495, allocations: 63.36 kB / 435 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.2497, allocations: 95.11 kB / 435.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.2501, allocations: 131.7 kB / 435.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.2506, allocations: 443 kB / 435.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.2508, allocations: 161.1 kB / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.2511, allocations: 187.4 kB / 436 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.2513, allocations: 175.1 kB / 436.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.763e-05/0.2514, allocations: 48 kB / 436.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.2515, allocations: 52 kB / 436.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.2516, allocations: 103.7 kB / 436.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.2518, allocations: 179.2 kB / 436.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.2523, allocations: 0.5043 MB / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2523, allocations: 0 / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2523, allocations: 0 / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2523, allocations: 4 kB / 437.1 MB, free: 1.047 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.001063/0.2534, allocations: 0.6263 MB / 437.7 MB, free: 400 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2534, allocations: 11.98 kB / 437.7 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.2537, allocations: 64.58 kB / 437.8 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.254, allocations: 218.6 kB / 438 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.254, allocations: 33.38 kB / 438 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.699e-05/0.2541, allocations: 44.38 kB / 438.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.2549, allocations: 0.6245 MB / 438.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2549, allocations: 0 / 438.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.2549, allocations: 16 kB / 438.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.2549, allocations: 12 kB / 438.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.2555, allocations: 283.9 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.2573, allocations: 1.092 MB / 440.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.2577, allocations: 218.2 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.2581, allocations: 177.4 kB / 440.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2581, allocations: 4 kB / 440.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2581, allocations: 42.5 kB / 440.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.2581, allocations: 0 / 440.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001393/0.2595, allocations: 475.2 kB / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.2597, allocations: 239.3 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.2599, allocations: 182.7 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.2599, allocations: 29.7 kB / 441.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2601, allocations: 204.6 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/0.2601, allocations: 115.1 kB / 441.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2603, allocations: 61.69 kB / 441.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2604, allocations: 330.8 kB / 442.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.2606, allocations: 75.97 kB / 442.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.2609, allocations: 340.8 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.2613, allocations: 200.2 kB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2613, allocations: 0 / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004805/0.2618, allocations: 273.2 kB / 443 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2618, allocations: 7.938 kB / 443 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2618, allocations: 4 kB / 443 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2618, allocations: 0 / 443 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.2622, allocations: 83.89 kB / 443.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2622, allocations: 0 / 443.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.2623, allocations: 35.77 kB / 443.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2623, allocations: 8 kB / 443.1 MB, free: 10.59 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.000164/0.2625, allocations: 153.7 kB / 443.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.2626, allocations: 35.8 kB / 443.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.761e-05/0.2626, allocations: 30.64 kB / 443.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2626, allocations: 7.984 kB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2626, allocations: 7.938 kB / 443.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2626, allocations: 0 / 443.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.2637, allocations: 0.6421 MB / 444 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2637, allocations: 0 / 444 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.2639, allocations: 51.91 kB / 444 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003111/0.2643, allocations: 88.83 kB / 444.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.2643, allocations: 8 kB / 444.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.2663, allocations: 1.831 MB / 446 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2663, allocations: 4.062 kB / 446 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/0.2671, allocations: 0.494 MB / 446.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.2672, allocations: 23.78 kB / 446.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2672, allocations: 8.062 kB / 446.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.2674, allocations: 8 kB / 446.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.2674, allocations: 32 kB / 446.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2674, allocations: 8 kB / 446.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.2675, allocations: 136.3 kB / 446.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2675, allocations: 0 / 446.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.2679, allocations: 115.7 kB / 446.8 MB, free: 6.734 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.0001224/0.268, allocations: 103.2 kB / 446.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.2684, allocations: 195.8 kB / 447.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2684, allocations: 0 / 447.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.2688, allocations: 270.6 kB / 447.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.2692, allocations: 35.92 kB / 447.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.2705, allocations: 0.85 MB / 448.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.2707, allocations: 176.8 kB / 448.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.785e-05/0.2708, allocations: 25.94 kB / 448.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.2709, allocations: 23.42 kB / 448.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2709, allocations: 0 / 448.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of Templates: time 0.008027/0.2789, allocations: 3.463 MB / 451.9 MB, free: 1.559 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.4935079626739025]