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.0009651/0.0009651, allocations: 85.95 kB / 23 MB, free: 1.504 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.001044/0.001044, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9068/0.9068, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.473e-06/1.473e-06, allocations: 3.938 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.306e-05, allocations: 6.25 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002456/0.002469, allocations: 2.69 MB / 254.9 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.003477, allocations: 0.7448 MB / 255.7 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.003576, allocations: 8 kB / 255.7 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.684e-05/0.003662, allocations: 59.41 kB / 255.7 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.003805, allocations: 99 kB / 255.8 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.004095, allocations: 119.7 kB / 256 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.004429, allocations: 470.6 kB / 256.4 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.004637, allocations: 157.2 kB / 256.6 MB, free: 2.898 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.004869, allocations: 267.6 kB / 256.8 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.005013, allocations: 143.5 kB / 257 MB, free: 2.496 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.005061, allocations: 48 kB / 257 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.96e-05/0.005101, allocations: 44 kB / 257.1 MB, free: 2.406 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.005158, allocations: 99.66 kB / 257.2 MB, free: 2.309 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.005258, allocations: 155.6 kB / 257.3 MB, free: 2.156 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.005781, allocations: 318.9 kB / 257.6 MB, free: 1.844 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005783, allocations: 0 / 257.6 MB, free: 1.844 MB / 234.7 MB Notification: Performance of FrontEnd: time 5e-07/0.005784, allocations: 7.938 kB / 257.6 MB, free: 1.836 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.00579, allocations: 0 / 257.6 MB, free: 1.836 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.0006492/0.006439, allocations: 0.7105 MB / 258.3 MB, free: 1.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.006471, allocations: 15.97 kB / 258.4 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.006551, allocations: 80.66 kB / 258.4 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.006753, allocations: 228.7 kB / 258.7 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.006773, allocations: 29.38 kB / 258.7 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.006819, allocations: 48.31 kB / 258.7 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.007191, allocations: 0.5459 MB / 259.3 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.007204, allocations: 192 / 259.3 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.007226, allocations: 20.31 kB / 259.3 MB, free: 20 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.007235, allocations: 11.94 kB / 259.3 MB, free: 8 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.007404, allocations: 138.9 kB / 259.4 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.008398, allocations: 1.058 MB / 260.5 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.0086, allocations: 159.2 kB / 260.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.008748, allocations: 135.4 kB / 260.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.008764, allocations: 4 kB / 260.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.00879, allocations: 41.39 kB / 260.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.342e-06/0.008791, allocations: 0 / 260.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006546/0.009446, allocations: 373.2 kB / 261.2 MB, free: 14.01 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.009513, allocations: 243.3 kB / 261.4 MB, free: 13.72 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.009618, allocations: 229.8 kB / 261.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.009636, allocations: 29.7 kB / 261.7 MB, free: 13.44 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.009738, allocations: 267.2 kB / 262 MB, free: 13.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.009785, allocations: 107.1 kB / 262.1 MB, free: 13.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.009846, allocations: 67.3 kB / 262.1 MB, free: 13 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.009953, allocations: 0.504 MB / 262.6 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.009994, allocations: 35.91 kB / 262.7 MB, free: 12.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.01013, allocations: 317 kB / 263 MB, free: 12.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.01029, allocations: 177.6 kB / 263.1 MB, free: 11.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01029, allocations: 0 / 263.1 MB, free: 11.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001903/0.01048, allocations: 201.2 kB / 263.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.0105, allocations: 12.06 kB / 263.4 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.0105, allocations: 0 / 263.4 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.01051, allocations: 0 / 263.4 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.01068, allocations: 75.91 kB / 263.4 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01068, allocations: 7.922 kB / 263.4 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.01075, allocations: 27.84 kB / 263.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.01076, allocations: 8 kB / 263.5 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.0001245/0.01089, allocations: 188.4 kB / 263.7 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.01093, allocations: 27.86 kB / 263.7 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.01097, allocations: 34.64 kB / 263.7 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01097, allocations: 4 kB / 263.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.01098, allocations: 3.938 kB / 263.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01098, allocations: 0 / 263.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.01146, allocations: 0.5615 MB / 264.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01146, allocations: 0 / 264.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.01159, allocations: 59.84 kB / 264.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.01178, allocations: 87.59 kB / 264.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.0118, allocations: 4 kB / 264.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.01309, allocations: 2.092 MB / 266.5 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01309, allocations: 0 / 266.5 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.01343, allocations: 436.6 kB / 267 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.01345, allocations: 19.83 kB / 267 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01346, allocations: 8 kB / 267 MB, free: 7.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.01354, allocations: 8 kB / 267 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.01358, allocations: 35.92 kB / 267 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.01359, allocations: 4 kB / 267 MB, free: 7.785 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.659e-05/0.01364, allocations: 168.2 kB / 267.2 MB, free: 7.621 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01364, allocations: 0 / 267.2 MB, free: 7.621 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.01388, allocations: 111.7 kB / 267.3 MB, free: 7.512 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 8.763e-05/0.01397, allocations: 103.2 kB / 267.4 MB, free: 7.402 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.01417, allocations: 139.3 kB / 267.5 MB, free: 7.262 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01417, allocations: 4.125 kB / 267.5 MB, free: 7.258 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.01443, allocations: 314.5 kB / 267.8 MB, free: 6.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.01464, allocations: 23.98 kB / 267.9 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.01535, allocations: 0.7051 MB / 268.6 MB, free: 6.164 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.01541, allocations: 96.3 kB / 268.7 MB, free: 6.051 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.01547, allocations: 21.89 kB / 268.7 MB, free: 6.027 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01558, allocations: 122.2 kB / 268.8 MB, free: 5.906 MB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01558, allocations: 0 / 268.8 MB, free: 5.906 MB / 250.7 MB Notification: Performance of Templates: time 0.005454/0.02103, allocations: 3.15 MB / 272 MB, free: 2.773 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.7782490071840584]