Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 84.31 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 164.1 kB / 23.96 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.021e-05, allocations: 7.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00377/0.00379, allocations: 2.59 MB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.005271, allocations: 0.7473 MB / 328.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.005396, allocations: 6.625 kB / 328.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.005539, allocations: 63.61 kB / 328.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.005773, allocations: 102.7 kB / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.006168, allocations: 131.1 kB / 328.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005267/0.006694, allocations: 460.7 kB / 329.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.006993, allocations: 153.9 kB / 329.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004176/0.007411, allocations: 284.1 kB / 329.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.00765, allocations: 139.7 kB / 329.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.007714, allocations: 49.75 kB / 329.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.007829, allocations: 55.02 kB / 329.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.007939, allocations: 106 kB / 329.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.008125, allocations: 154.6 kB / 330.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.008788, allocations: 0.5276 MB / 330.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008791, allocations: 0 / 330.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.008792, allocations: 0 / 330.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.008805, allocations: 0 / 330.6 MB, free: 13.12 MB / 302.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.001119/0.009925, allocations: 0.6107 MB / 331.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.009957, allocations: 9.312 kB / 331.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.01022, allocations: 59.77 kB / 331.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.01055, allocations: 221.2 kB / 331.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.01058, allocations: 34.97 kB / 331.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.01066, allocations: 48.2 kB / 331.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.01149, allocations: 0.6174 MB / 332.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01151, allocations: 5.344 kB / 332.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.01155, allocations: 15.66 kB / 332.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.01156, allocations: 14.91 kB / 332.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.01209, allocations: 277.2 kB / 332.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.0139, allocations: 1.085 MB / 333.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.01436, allocations: 216.5 kB / 333.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.01474, allocations: 180.4 kB / 334 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.01477, allocations: 7.172 kB / 334 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.01481, allocations: 37.16 kB / 334 MB, free: 10.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.537e-06/0.01481, allocations: 3.984 kB / 334 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001402/0.01621, allocations: 477.4 kB / 334.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.01636, allocations: 239.7 kB / 334.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01654, allocations: 171.9 kB / 334.9 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.01658, allocations: 31.08 kB / 334.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.01673, allocations: 213.6 kB / 335.1 MB, free: 9.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.01683, allocations: 109.9 kB / 335.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.01693, allocations: 62.08 kB / 335.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.01709, allocations: 336 kB / 335.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.01726, allocations: 76.34 kB / 335.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.01761, allocations: 339 kB / 336 MB, free: 8.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.018, allocations: 204.2 kB / 336.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.018, allocations: 1.094 kB / 336.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004908/0.01849, allocations: 272.1 kB / 336.5 MB, free: 8.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.01851, allocations: 10.45 kB / 336.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01852, allocations: 0 / 336.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.01854, allocations: 6.656 kB / 336.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.01888, allocations: 73.62 kB / 336.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.01889, allocations: 6.391 kB / 336.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.01907, allocations: 33.22 kB / 336.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.01909, allocations: 6.688 kB / 336.6 MB, free: 8.5 MB / 302.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.0001743/0.01926, allocations: 151.6 kB / 336.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.01931, allocations: 26.3 kB / 336.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.171e-05/0.01939, allocations: 30.3 kB / 336.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.01939, allocations: 7.562 kB / 336.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.0194, allocations: 2.406 kB / 336.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.01941, allocations: 4 kB / 336.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.0205, allocations: 0.6505 MB / 337.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02051, allocations: 1.25 kB / 337.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.02076, allocations: 50.06 kB / 337.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.02112, allocations: 95.14 kB / 337.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.02114, allocations: 6.281 kB / 337.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.02338, allocations: 1.811 MB / 339.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.02338, allocations: 9.156 kB / 339.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.02422, allocations: 0.5042 MB / 340 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.02426, allocations: 23.73 kB / 340 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.02429, allocations: 12 kB / 340 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.02446, allocations: 12 kB / 340 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.02453, allocations: 31.88 kB / 340 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.02455, allocations: 8 kB / 340.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.02466, allocations: 132.3 kB / 340.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02466, allocations: 0 / 340.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.02509, allocations: 115.7 kB / 340.3 MB, free: 5.332 MB / 302.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.0001545/0.02524, allocations: 107.1 kB / 340.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.02567, allocations: 199.7 kB / 340.6 MB, free: 5.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.02568, allocations: 4 kB / 340.6 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.02619, allocations: 258.6 kB / 340.8 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.02656, allocations: 35.98 kB / 340.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.02775, allocations: 0.7343 MB / 341.6 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.02794, allocations: 180.6 kB / 341.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.163e-05/0.02802, allocations: 29.92 kB / 341.8 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.02808, allocations: 20.5 kB / 341.8 MB, free: 3.703 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02808, allocations: 0 / 341.8 MB, free: 3.703 MB / 302.1 MB Notification: Performance of Templates: time 0.007816/0.0359, allocations: 3.091 MB / 344.9 MB, free: 0.6445 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.247258070856333]