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.002009/0.002009, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002503/0.002503, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.511/1.511, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.853e-06/1.853e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.139e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004389/0.00442, allocations: 2.6 MB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.005911, allocations: 0.7322 MB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.006028, allocations: 8 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.006182, allocations: 71.34 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.00643, allocations: 99 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.006816, allocations: 127.7 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.007374, allocations: 454.7 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.007675, allocations: 161.3 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.008111, allocations: 283.4 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.008346, allocations: 143.5 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.059e-05/0.008417, allocations: 48 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.008532, allocations: 56 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.008633, allocations: 103.6 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.00882, allocations: 155.7 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.00946, allocations: 0.5217 MB / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.009463, allocations: 0 / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.009464, allocations: 0 / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.00947, allocations: 0 / 277.8 MB, free: 12.28 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.001193/0.01066, allocations: 0.6185 MB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.0107, allocations: 8.031 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.01102, allocations: 92.64 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.01136, allocations: 217.9 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.01141, allocations: 29.38 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/0.0115, allocations: 52.33 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/0.01244, allocations: 0.6208 MB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.01246, allocations: 192 / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.01251, allocations: 16.38 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.01252, allocations: 15.94 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.01311, allocations: 279.9 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.01534, allocations: 1.105 MB / 280.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.01583, allocations: 218.7 kB / 281.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.01625, allocations: 177.4 kB / 281.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.01628, allocations: 11.88 kB / 281.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.01632, allocations: 38.55 kB / 281.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.01632, allocations: 0 / 281.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001525/0.01785, allocations: 491.2 kB / 281.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/0.01802, allocations: 239.3 kB / 282 MB, free: 7.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.01823, allocations: 179.2 kB / 282.2 MB, free: 7.617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.01827, allocations: 33.7 kB / 282.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.01844, allocations: 208.6 kB / 282.4 MB, free: 7.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.01855, allocations: 103.1 kB / 282.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.01866, allocations: 69.69 kB / 282.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.01887, allocations: 330.8 kB / 282.9 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.01904, allocations: 71.97 kB / 283 MB, free: 6.793 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.01942, allocations: 340.2 kB / 283.3 MB, free: 6.387 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.01982, allocations: 204.6 kB / 283.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01982, allocations: 0 / 283.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005371/0.02036, allocations: 285.3 kB / 283.8 MB, free: 5.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.02038, allocations: 4 kB / 283.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.02038, allocations: 0 / 283.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.02041, allocations: 7.938 kB / 283.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.02078, allocations: 79.89 kB / 283.9 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.02079, allocations: 4 kB / 283.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.02096, allocations: 35.77 kB / 283.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.02099, allocations: 8 kB / 284 MB, free: 5.758 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 0.0001787/0.02116, allocations: 153.8 kB / 284.1 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.02124, allocations: 35.92 kB / 284.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/0.02131, allocations: 34.64 kB / 284.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.02132, allocations: 7.938 kB / 284.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.02133, allocations: 4 kB / 284.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.02133, allocations: 0 / 284.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.02246, allocations: 0.6343 MB / 284.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02246, allocations: 3.938 kB / 284.8 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.02275, allocations: 55.91 kB / 284.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.02318, allocations: 100.8 kB / 285 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.0232, allocations: 8 kB / 285 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.0256, allocations: 1.839 MB / 286.8 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.02561, allocations: 3.938 kB / 286.8 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.02677, allocations: 0.5024 MB / 287.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.02681, allocations: 23.8 kB / 287.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.02685, allocations: 12 kB / 287.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.02702, allocations: 20.05 kB / 287.4 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.02709, allocations: 23.89 kB / 287.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.02711, allocations: 8 kB / 287.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.02725, allocations: 136.3 kB / 287.5 MB, free: 1.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02725, allocations: 0 / 287.5 MB, free: 1.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000424/0.02767, allocations: 111.7 kB / 287.7 MB, free: 1.871 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 0.0001445/0.02781, allocations: 103.2 kB / 287.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.02825, allocations: 199.8 kB / 287.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02825, allocations: 3.938 kB / 288 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.02875, allocations: 265.7 kB / 288.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.02916, allocations: 32.11 kB / 288.2 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.03045, allocations: 0.7435 MB / 289 MB, free: 496 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.03067, allocations: 176.8 kB / 289.2 MB, free: 292 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.807e-05/0.03076, allocations: 21.94 kB / 289.2 MB, free: 272 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.03082, allocations: 28.48 kB / 289.2 MB, free: 244 kB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03082, allocations: 0 / 289.2 MB, free: 244 kB / 266.7 MB Notification: Performance of Templates: time 0.00779/0.03861, allocations: 3.113 MB / 292.3 MB, free: 13.16 MB / 282.7 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.377951013972051]