Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00156/0.00156, allocations: 76.31 kB / 22.2 MB, free: 2.301 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.0009739/0.0009739, allocations: 176.7 kB / 25.6 MB, free: 8.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8545/0.8545, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.21e-05, allocations: 6.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003233/0.003255, allocations: 2.686 MB / 254.1 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.00457, allocations: 0.7408 MB / 254.9 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.004713, allocations: 8 kB / 254.9 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.004823, allocations: 63.41 kB / 255 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.00502, allocations: 95 kB / 255.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.005374, allocations: 131.6 kB / 255.2 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.005786, allocations: 450.7 kB / 255.6 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.006043, allocations: 161.2 kB / 255.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.006355, allocations: 271.5 kB / 256 MB, free: 2.645 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.006537, allocations: 143.6 kB / 256.2 MB, free: 2.504 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.006592, allocations: 44 kB / 256.2 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.548e-05/0.006648, allocations: 44 kB / 256.3 MB, free: 2.418 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.006716, allocations: 107.6 kB / 256.4 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.006839, allocations: 155.6 kB / 256.5 MB, free: 2.16 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.007164, allocations: 322.8 kB / 256.8 MB, free: 1.844 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007167, allocations: 0 / 256.8 MB, free: 1.844 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007168, allocations: 0 / 256.8 MB, free: 1.844 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.007173, allocations: 0 / 256.8 MB, free: 1.844 MB / 234.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.0008259/0.007999, allocations: 0.7144 MB / 257.6 MB, free: 1.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.00804, allocations: 11.98 kB / 257.6 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.974e-05/0.00814, allocations: 80.66 kB / 257.6 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.008378, allocations: 232.6 kB / 257.9 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.008404, allocations: 29.38 kB / 257.9 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.008465, allocations: 48.38 kB / 258 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.008956, allocations: 0.542 MB / 258.5 MB, free: 44 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.008971, allocations: 192 / 258.5 MB, free: 44 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.008999, allocations: 16.38 kB / 258.5 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.009012, allocations: 15.94 kB / 258.5 MB, free: 12 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.009232, allocations: 138.8 kB / 258.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.01047, allocations: 1.062 MB / 259.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.0107, allocations: 159.2 kB / 259.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.0109, allocations: 131.5 kB / 260 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.01091, allocations: 4 kB / 260 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.01094, allocations: 41.39 kB / 260 MB, free: 14.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.01094, allocations: 3.938 kB / 260.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007919/0.01174, allocations: 369.3 kB / 260.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/0.01183, allocations: 243.3 kB / 260.7 MB, free: 13.72 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.01196, allocations: 229.8 kB / 260.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.01199, allocations: 33.7 kB / 260.9 MB, free: 13.44 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.01211, allocations: 267.2 kB / 261.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.01218, allocations: 103.1 kB / 261.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.01226, allocations: 63.3 kB / 261.3 MB, free: 13 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.0124, allocations: 0.5079 MB / 261.8 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.01246, allocations: 27.97 kB / 261.9 MB, free: 12.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.01263, allocations: 320.9 kB / 262.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.01287, allocations: 185.6 kB / 262.4 MB, free: 11.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01287, allocations: 4 kB / 262.4 MB, free: 11.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002731/0.01314, allocations: 197.2 kB / 262.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01316, allocations: 7.984 kB / 262.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01316, allocations: 0 / 262.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01318, allocations: 4 kB / 262.6 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.0134, allocations: 71.91 kB / 262.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01341, allocations: 11.92 kB / 262.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.0135, allocations: 27.84 kB / 262.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01351, allocations: 4 kB / 262.7 MB, free: 11.54 MB / 250.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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.0001533/0.01367, allocations: 188.5 kB / 262.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.01372, allocations: 27.86 kB / 262.9 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.01378, allocations: 34.64 kB / 262.9 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01378, allocations: 4 kB / 262.9 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.01379, allocations: 7.938 kB / 262.9 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.0138, allocations: 0 / 262.9 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.01446, allocations: 0.5498 MB / 263.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01446, allocations: 4 kB / 263.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.01465, allocations: 63.86 kB / 263.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.0149, allocations: 87.56 kB / 263.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.01492, allocations: 8 kB / 263.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.01626, allocations: 2.089 MB / 265.7 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01627, allocations: 0 / 265.7 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.0167, allocations: 432.6 kB / 266.2 MB, free: 7.863 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.01672, allocations: 27.86 kB / 266.2 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.01674, allocations: 8 kB / 266.2 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01685, allocations: 8 kB / 266.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.0169, allocations: 27.89 kB / 266.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.01691, allocations: 4 kB / 266.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.16e-05/0.01698, allocations: 172.2 kB / 266.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01698, allocations: 0 / 266.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000328/0.01731, allocations: 107.7 kB / 266.5 MB, free: 7.516 MB / 250.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.0001012/0.01741, allocations: 115.1 kB / 266.6 MB, free: 7.395 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.01762, allocations: 131.6 kB / 266.7 MB, free: 7.262 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01762, allocations: 0 / 266.7 MB, free: 7.262 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.0179, allocations: 326.1 kB / 267.1 MB, free: 6.922 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.01816, allocations: 23.98 kB / 267.1 MB, free: 6.898 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.01905, allocations: 0.7052 MB / 267.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.026e-05/0.01912, allocations: 96.3 kB / 267.9 MB, free: 6.043 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.01919, allocations: 21.95 kB / 267.9 MB, free: 6.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.01932, allocations: 118.2 kB / 268 MB, free: 5.902 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01933, allocations: 0 / 268 MB, free: 5.902 MB / 250.7 MB Notification: Performance of Templates: time 0.006154/0.02548, allocations: 3.074 MB / 271.1 MB, free: 2.844 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6206724802032113]