Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006107/0.006107, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001687/0.001687, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 259 MB, free: 8.035 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 59.91 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2617, allocations: 53.36 MB / 433.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004465/0.2661, allocations: 2.881 MB / 436 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.2677, allocations: 0.7634 MB / 436.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.2679, allocations: 4 kB / 436.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.268, allocations: 67.36 kB / 436.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.2683, allocations: 95.12 kB / 437 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.2687, allocations: 131.7 kB / 437.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.2692, allocations: 450.9 kB / 437.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.2695, allocations: 157.4 kB / 437.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.2698, allocations: 187.5 kB / 437.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.2701, allocations: 211.1 kB / 438.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.2701, allocations: 52 kB / 438.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.2702, allocations: 48 kB / 438.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.2703, allocations: 103.7 kB / 438.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.2705, allocations: 219 kB / 438.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.2711, allocations: 0.5032 MB / 439 MB, free: 1.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2711, allocations: 0 / 439 MB, free: 1.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2711, allocations: 0 / 439 MB, free: 1.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.2711, allocations: 0 / 439 MB, free: 1.137 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.001094/0.2722, allocations: 0.6262 MB / 439.6 MB, free: 492 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2723, allocations: 8.031 kB / 439.6 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002404/0.2725, allocations: 60.64 kB / 439.7 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.2728, allocations: 215.6 kB / 439.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.2728, allocations: 29.38 kB / 439.9 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.2729, allocations: 52.33 kB / 440 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.2737, allocations: 451.6 kB / 440.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2737, allocations: 0 / 440.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.2737, allocations: 20 kB / 440.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.2738, allocations: 12 kB / 440.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.2743, allocations: 283.9 kB / 440.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.2763, allocations: 1.267 MB / 442 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.2767, allocations: 217 kB / 442.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.2771, allocations: 176.7 kB / 442.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.2771, allocations: 7.938 kB / 442.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.2772, allocations: 38.5 kB / 442.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.854e-06/0.2772, allocations: 0 / 442.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001347/0.2785, allocations: 486.4 kB / 442.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.2787, allocations: 235.3 kB / 443.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.2789, allocations: 214.7 kB / 443.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.279, allocations: 33.7 kB / 443.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.2791, allocations: 208.6 kB / 443.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.2792, allocations: 111.1 kB / 443.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2793, allocations: 57.7 kB / 443.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2795, allocations: 338.8 kB / 444.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2796, allocations: 71.97 kB / 444.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.2799, allocations: 160.9 kB / 444.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.2802, allocations: 200.8 kB / 444.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2802, allocations: 0 / 444.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004755/0.2807, allocations: 277.1 kB / 444.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2807, allocations: 7.984 kB / 444.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2807, allocations: 0 / 444.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2808, allocations: 4 kB / 444.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.2811, allocations: 87.89 kB / 444.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2811, allocations: 0 / 444.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.2813, allocations: 27.8 kB / 444.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.2813, allocations: 15.94 kB / 444.9 MB, free: 10.89 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.0001756/0.2815, allocations: 161.8 kB / 445.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.2815, allocations: 27.8 kB / 445.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.2816, allocations: 30.64 kB / 445.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2816, allocations: 4 kB / 445.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2816, allocations: 0 / 445.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2816, allocations: 3.984 kB / 445.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.2828, allocations: 0.7351 MB / 445.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2828, allocations: 0 / 445.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.2831, allocations: 55.91 kB / 445.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.2834, allocations: 88.73 kB / 446 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2834, allocations: 8 kB / 446 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.2856, allocations: 1.862 MB / 447.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2856, allocations: 8.094 kB / 447.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008287/0.2864, allocations: 0.4903 MB / 448.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.2865, allocations: 31.84 kB / 448.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.2865, allocations: 8.109 kB / 448.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.2867, allocations: 11.94 kB / 448.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.2867, allocations: 27.95 kB / 448.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.2868, allocations: 15.92 kB / 448.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.2869, allocations: 152.5 kB / 448.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2869, allocations: 0 / 448.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.2873, allocations: 103.8 kB / 448.7 MB, free: 6.875 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.0001493/0.2875, allocations: 103.2 kB / 448.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004327/0.2879, allocations: 203.8 kB / 449 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.2879, allocations: 4 kB / 449 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.2884, allocations: 262.4 kB / 449.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.2888, allocations: 39.06 kB / 449.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2903, allocations: 0.8841 MB / 450.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.2907, allocations: 0.7831 MB / 451 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.2908, allocations: 27.44 kB / 451 MB, free: 4.492 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2908, allocations: 0 / 451 MB, free: 4.492 MB / 350.1 MB Notification: Performance of Templates: time 0.006941/0.2977, allocations: 4.067 MB / 455.1 MB, free: 428 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.462931820191443]