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.001377/0.001377, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001101/0.001101, allocations: 166.1 kB / 24.82 MB, free: 9.258 MB / 18.57 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 0.9611/0.9611, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.403e-06/1.403e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.286e-05, allocations: 5.266 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002728/0.002751, allocations: 2.762 MB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.003703, allocations: 0.7477 MB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.003795, allocations: 8 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.824e-05/0.003883, allocations: 63.36 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.004036, allocations: 99 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.004326, allocations: 135.7 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.004644, allocations: 470.6 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.004856, allocations: 145.4 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.005131, allocations: 287.5 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.005282, allocations: 147.5 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.005328, allocations: 48 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.174e-05/0.005409, allocations: 56 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.005462, allocations: 99.64 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.00556, allocations: 155.7 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.005839, allocations: 330.7 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005841, allocations: 0 / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005842, allocations: 0 / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.005846, allocations: 0 / 278.8 MB, free: 11.7 MB / 266.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.0006731/0.006519, allocations: 0.73 MB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.006554, allocations: 11.98 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.006729, allocations: 96.58 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.006919, allocations: 216.7 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.006946, allocations: 33.38 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.006998, allocations: 52.31 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.007382, allocations: 0.542 MB / 280.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.007395, allocations: 192 / 280.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.007419, allocations: 20.38 kB / 280.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.007429, allocations: 15.94 kB / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.007591, allocations: 134.9 kB / 280.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.0086, allocations: 1.066 MB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.008802, allocations: 159.2 kB / 281.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.008957, allocations: 135.5 kB / 282 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.008974, allocations: 4 kB / 282 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.009, allocations: 45.38 kB / 282.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.009001, allocations: 0 / 282.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006508/0.009652, allocations: 377.9 kB / 282.4 MB, free: 7.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.009725, allocations: 239.3 kB / 282.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.009831, allocations: 225.8 kB / 282.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.009849, allocations: 33.7 kB / 282.9 MB, free: 7.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.009955, allocations: 271.1 kB / 283.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.01, allocations: 103.1 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.01007, allocations: 67.33 kB / 283.4 MB, free: 6.828 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01018, allocations: 0.5001 MB / 283.9 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.342e-05/0.01023, allocations: 35.97 kB / 283.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.01038, allocations: 328.4 kB / 284.2 MB, free: 5.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.0105, allocations: 137.1 kB / 284.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01051, allocations: 0 / 284.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001942/0.0107, allocations: 197.3 kB / 284.5 MB, free: 5.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01071, allocations: 6.656 kB / 284.5 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01072, allocations: 0 / 284.5 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01073, allocations: 4 kB / 284.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.0109, allocations: 83.95 kB / 284.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.01091, allocations: 7.938 kB / 284.6 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.01098, allocations: 27.78 kB / 284.7 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01099, allocations: 8 kB / 284.7 MB, free: 5.398 MB / 266.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.092e-05/0.01108, allocations: 176.5 kB / 284.8 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.01112, allocations: 31.86 kB / 284.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.01116, allocations: 30.66 kB / 284.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01116, allocations: 4 kB / 284.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.01117, allocations: 3.938 kB / 284.9 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.01117, allocations: 11.98 kB / 284.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.01169, allocations: 0.5536 MB / 285.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01169, allocations: 0 / 285.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.01182, allocations: 55.91 kB / 285.5 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.01202, allocations: 87.59 kB / 285.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01204, allocations: 4 kB / 285.6 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.01312, allocations: 2.077 MB / 287.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01312, allocations: 7.969 kB / 287.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.01347, allocations: 439.6 kB / 288.1 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.01349, allocations: 27.8 kB / 288.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.01351, allocations: 8 kB / 288.2 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.01358, allocations: 12.06 kB / 288.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.01362, allocations: 31.83 kB / 288.2 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.01363, allocations: 7.984 kB / 288.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.523e-05/0.01368, allocations: 156.2 kB / 288.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01368, allocations: 0 / 288.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.01393, allocations: 115.7 kB / 288.5 MB, free: 1.371 MB / 266.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 9.763e-05/0.01403, allocations: 99.25 kB / 288.6 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.0142, allocations: 140.1 kB / 288.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.0142, allocations: 0 / 288.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.01444, allocations: 300.8 kB / 289 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01466, allocations: 40.23 kB / 289.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.01537, allocations: 0.7164 MB / 289.8 MB, free: 20 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.887e-05/0.01544, allocations: 96.3 kB / 289.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.01549, allocations: 21.94 kB / 289.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.01561, allocations: 122.2 kB / 290 MB, free: 15.76 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01561, allocations: 0 / 290 MB, free: 15.76 MB / 282.7 MB Notification: Performance of Templates: time 0.005128/0.02074, allocations: 3.316 MB / 293.3 MB, free: 12.47 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.687150362879038]