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.00181/0.00181, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002304/0.002304, allocations: 217 kB / 24.5 MB, free: 4.133 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.462/1.462, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.001894/0.001894, allocations: 68.03 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2493, allocations: 53.41 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004082/0.2534, allocations: 2.86 MB / 435.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2548, allocations: 0.7867 MB / 436.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.255, allocations: 4 kB / 436.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.2551, allocations: 59.42 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.2554, allocations: 91.06 kB / 436.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.2557, allocations: 131.8 kB / 436.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.2563, allocations: 450.9 kB / 436.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.2566, allocations: 161.4 kB / 437 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.2569, allocations: 191.4 kB / 437.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.2571, allocations: 203.2 kB / 437.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.2572, allocations: 48 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.2573, allocations: 55.98 kB / 437.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.357e-05/0.2574, allocations: 99.67 kB / 437.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.2576, allocations: 219 kB / 437.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006067/0.2582, allocations: 0.5034 MB / 438.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2582, allocations: 0 / 438.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2582, allocations: 4 kB / 438.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.2582, allocations: 0 / 438.3 MB, free: 1.074 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.001255/0.2595, allocations: 0.6145 MB / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2595, allocations: 12.03 kB / 438.9 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003377/0.2599, allocations: 64.64 kB / 439 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.2602, allocations: 222.6 kB / 439.2 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.2602, allocations: 29.38 kB / 439.2 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.2604, allocations: 48.33 kB / 439.2 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.2611, allocations: 455.6 kB / 439.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.2612, allocations: 4 kB / 439.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.2612, allocations: 20 kB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2612, allocations: 8 kB / 439.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.2617, allocations: 279.9 kB / 440 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.2637, allocations: 1.263 MB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.2642, allocations: 230.2 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.2645, allocations: 169.4 kB / 441.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2646, allocations: 0 / 441.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.2646, allocations: 42.56 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.292e-06/0.2646, allocations: 3.938 kB / 441.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001392/0.266, allocations: 491 kB / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.2661, allocations: 235.3 kB / 442.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.2664, allocations: 210.8 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.2664, allocations: 33.7 kB / 442.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2665, allocations: 196.7 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.2666, allocations: 119 kB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/0.2667, allocations: 57.7 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2669, allocations: 338.8 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.2671, allocations: 75.97 kB / 443.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2673, allocations: 156.8 kB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.2676, allocations: 200.2 kB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.2676, allocations: 4 kB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000492/0.2681, allocations: 277.1 kB / 444 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2682, allocations: 4 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2682, allocations: 0 / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2682, allocations: 4 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.2685, allocations: 79.95 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.2685, allocations: 4 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.2687, allocations: 35.78 kB / 444.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.2687, allocations: 8 kB / 444.2 MB, free: 10.84 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.0001801/0.2689, allocations: 149.8 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.269, allocations: 35.73 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/0.269, allocations: 34.58 kB / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.269, allocations: 0 / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.2691, allocations: 8 kB / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2691, allocations: 0 / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.2703, allocations: 0.7351 MB / 445.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2703, allocations: 4 kB / 445.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.2705, allocations: 43.97 kB / 445.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/0.2708, allocations: 92.83 kB / 445.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.2709, allocations: 8 kB / 445.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.273, allocations: 1.877 MB / 447.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.273, allocations: 3.984 kB / 447.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.2738, allocations: 0.4905 MB / 447.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.2739, allocations: 31.84 kB / 447.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.2739, allocations: 8 kB / 447.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.274, allocations: 8 kB / 447.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.2741, allocations: 31.94 kB / 447.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2741, allocations: 8 kB / 447.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.2743, allocations: 156.5 kB / 447.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2743, allocations: 3.938 kB / 447.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.2747, allocations: 107.8 kB / 448 MB, free: 6.805 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.0001429/0.2748, allocations: 99.25 kB / 448.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.2752, allocations: 199.8 kB / 448.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2752, allocations: 0 / 448.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.2757, allocations: 266.6 kB / 448.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.2761, allocations: 30.48 kB / 448.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.2775, allocations: 0.8867 MB / 449.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.278, allocations: 0.7831 MB / 450.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.278, allocations: 27.42 kB / 450.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.278, allocations: 0 / 450.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of Templates: time 0.007003/0.285, allocations: 4.077 MB / 454.3 MB, free: 364 kB / 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/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_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: 7.441650083987042]