Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008166/0.0008166, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0032/0.0032, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8209/0.8209, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 319.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.675e-05, allocations: 2.281 kB / 319.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002233/0.00225, allocations: 2.572 MB / 322.2 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.003199, allocations: 0.6893 MB / 322.9 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.00329, allocations: 8 kB / 322.9 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.605e-05/0.003376, allocations: 63.36 kB / 323 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.00353, allocations: 114.9 kB / 323.1 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.003796, allocations: 119.7 kB / 323.2 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.004088, allocations: 466.6 kB / 323.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.004296, allocations: 153.4 kB / 323.8 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.004511, allocations: 283.4 kB / 324.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.00465, allocations: 143.6 kB / 324.3 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.004699, allocations: 48 kB / 324.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.368e-05/0.004733, allocations: 44 kB / 324.3 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.004785, allocations: 103.6 kB / 324.4 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.328e-05/0.004878, allocations: 159.6 kB / 324.6 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.005201, allocations: 0.5023 MB / 325.1 MB, free: 272 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005204, allocations: 7.984 kB / 325.1 MB, free: 264 kB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005205, allocations: 0 / 325.1 MB, free: 264 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005209, allocations: 0 / 325.1 MB, free: 264 kB / 282.7 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.0006689/0.005878, allocations: 0.6108 MB / 325.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.00591, allocations: 12.03 kB / 325.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.005969, allocations: 48.66 kB / 325.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.006174, allocations: 217.8 kB / 326 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.006197, allocations: 33.38 kB / 326 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.006245, allocations: 44.38 kB / 326.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.006733, allocations: 0.6208 MB / 326.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.006748, allocations: 192 / 326.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.006776, allocations: 20.38 kB / 326.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.006784, allocations: 15.94 kB / 326.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.007094, allocations: 279.9 kB / 327 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.008153, allocations: 1.089 MB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.008444, allocations: 226.7 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.008666, allocations: 181.3 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.008682, allocations: 4 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.008703, allocations: 42.5 kB / 328.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.363e-06/0.008704, allocations: 0 / 328.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007828/0.009487, allocations: 474.4 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.009566, allocations: 235.3 kB / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.009668, allocations: 174.8 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.009684, allocations: 29.7 kB / 329.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.009771, allocations: 212.5 kB / 329.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.009945, allocations: 111.1 kB / 329.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.01, allocations: 61.69 kB / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.01008, allocations: 330.8 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.01017, allocations: 79.95 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.01034, allocations: 337.6 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.01055, allocations: 199.3 kB / 330.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01055, allocations: 0 / 330.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002718/0.01082, allocations: 277.2 kB / 331 MB, free: 9.953 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01084, allocations: 4 kB / 331 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01084, allocations: 4 kB / 331 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01085, allocations: 3.938 kB / 331 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.01102, allocations: 79.89 kB / 331.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.01103, allocations: 0 / 331.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.0111, allocations: 31.83 kB / 331.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.01111, allocations: 8 kB / 331.1 MB, free: 9.824 MB / 298.7 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 9.452e-05/0.01121, allocations: 153.8 kB / 331.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.01123, allocations: 23.91 kB / 331.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.01127, allocations: 22.66 kB / 331.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01127, allocations: 11.92 kB / 331.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.01128, allocations: 4 kB / 331.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.01128, allocations: 0 / 331.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.01188, allocations: 0.6535 MB / 332 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01188, allocations: 0 / 332 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.012, allocations: 51.91 kB / 332 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/0.01222, allocations: 92.83 kB / 332.1 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.01224, allocations: 12 kB / 332.1 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.01351, allocations: 1.824 MB / 334 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.01351, allocations: 15.97 kB / 334 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.01394, allocations: 0.4904 MB / 334.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.01396, allocations: 19.8 kB / 334.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.01398, allocations: 15.98 kB / 334.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.01405, allocations: 8 kB / 334.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.01409, allocations: 27.95 kB / 334.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.0141, allocations: 4 kB / 334.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.01416, allocations: 140.2 kB / 334.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01416, allocations: 0 / 334.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.01439, allocations: 115.7 kB / 334.8 MB, free: 5.969 MB / 298.7 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 8.887e-05/0.01448, allocations: 98.25 kB / 334.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.01473, allocations: 201 kB / 335.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01473, allocations: 0 / 335.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.01499, allocations: 266.7 kB / 335.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.01524, allocations: 47.8 kB / 335.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.01597, allocations: 0.7516 MB / 336.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.01607, allocations: 176.8 kB / 336.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.01612, allocations: 28.5 kB / 336.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01612, allocations: 0 / 336.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of Templates: time 0.00437/0.02049, allocations: 4.136 MB / 340.5 MB, free: 208 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.475500263273716]