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.001355/0.001355, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.0009862/0.0009862, allocations: 168.5 kB / 25.33 MB, free: 9.102 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.8719/0.8719, allocations: 158.6 MB / 187.2 MB, free: 2.902 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 2.745e-06/2.745e-06, allocations: 4 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.729e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002728/0.002755, allocations: 2.736 MB / 253.8 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003887, allocations: 0.7331 MB / 254.5 MB, free: 4.012 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.00402, allocations: 8 kB / 254.5 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.004127, allocations: 67.41 kB / 254.6 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.004295, allocations: 95 kB / 254.7 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.004659, allocations: 127.7 kB / 254.8 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.005045, allocations: 454.6 kB / 255.2 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.005285, allocations: 161.2 kB / 255.4 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.00559, allocations: 267.5 kB / 255.7 MB, free: 2.848 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.005754, allocations: 147.5 kB / 255.8 MB, free: 2.703 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.005803, allocations: 44 kB / 255.9 MB, free: 2.66 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.336e-05/0.005847, allocations: 44 kB / 255.9 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.005903, allocations: 103.6 kB / 256 MB, free: 2.516 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.006006, allocations: 151.7 kB / 256.1 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.006281, allocations: 326.8 kB / 256.5 MB, free: 2.047 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006284, allocations: 0 / 256.5 MB, free: 2.047 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006285, allocations: 0 / 256.5 MB, free: 2.047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.006293, allocations: 0 / 256.5 MB, free: 2.047 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.0007301/0.007023, allocations: 0.7067 MB / 257.2 MB, free: 1.305 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.007064, allocations: 15.98 kB / 257.2 MB, free: 1.289 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.007171, allocations: 80.66 kB / 257.3 MB, free: 1.211 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.007432, allocations: 228.6 kB / 257.5 MB, free: 0.957 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.007457, allocations: 29.38 kB / 257.5 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.007519, allocations: 52.33 kB / 257.6 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.008025, allocations: 0.5655 MB / 258.1 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.00804, allocations: 192 / 258.1 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.008065, allocations: 16.38 kB / 258.1 MB, free: 220 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.00808, allocations: 19.88 kB / 258.2 MB, free: 200 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.008314, allocations: 165.9 kB / 258.3 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.009464, allocations: 1.096 MB / 259.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.009729, allocations: 183.2 kB / 259.6 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.009925, allocations: 139.5 kB / 259.7 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.009945, allocations: 8 kB / 259.8 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.009971, allocations: 45.33 kB / 259.8 MB, free: 14.47 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.009973, allocations: 0 / 259.8 MB, free: 14.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007641/0.01074, allocations: 393.3 kB / 260.2 MB, free: 14.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.01083, allocations: 239.3 kB / 260.4 MB, free: 13.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.01097, allocations: 233.8 kB / 260.6 MB, free: 13.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.01099, allocations: 37.7 kB / 260.7 MB, free: 13.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.0111, allocations: 251.3 kB / 260.9 MB, free: 13.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.01115, allocations: 115 kB / 261 MB, free: 13.13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/0.01123, allocations: 67.34 kB / 261.1 MB, free: 13.06 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.01134, allocations: 0.4962 MB / 261.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.0114, allocations: 39.97 kB / 261.6 MB, free: 12.51 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.01156, allocations: 333 kB / 262 MB, free: 12.1 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.0118, allocations: 209.7 kB / 262.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0118, allocations: 3.938 kB / 262.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002409/0.01204, allocations: 229.2 kB / 262.4 MB, free: 11.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01206, allocations: 4 kB / 262.4 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01206, allocations: 0 / 262.4 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.01208, allocations: 7.938 kB / 262.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.01227, allocations: 79.89 kB / 262.5 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01228, allocations: 4 kB / 262.5 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.01236, allocations: 23.84 kB / 262.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.01237, allocations: 12 kB / 262.5 MB, free: 11.52 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.00015/0.01252, allocations: 180.6 kB / 262.7 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.01256, allocations: 31.86 kB / 262.7 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.0126, allocations: 30.66 kB / 262.8 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.0126, allocations: 7.938 kB / 262.8 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.01261, allocations: 0 / 262.8 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01262, allocations: 3.984 kB / 262.8 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/0.01321, allocations: 0.6156 MB / 263.4 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01321, allocations: 3.938 kB / 263.4 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.01336, allocations: 56 kB / 263.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.01362, allocations: 95.53 kB / 263.5 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.01364, allocations: 4 kB / 263.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.01507, allocations: 2.135 MB / 265.7 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.01508, allocations: 7.938 kB / 265.7 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.01549, allocations: 456.6 kB / 266.1 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.01551, allocations: 27.94 kB / 266.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.01553, allocations: 15.94 kB / 266.2 MB, free: 7.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.01561, allocations: 11.98 kB / 266.2 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.01567, allocations: 23.89 kB / 266.2 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01568, allocations: 12 kB / 266.2 MB, free: 7.605 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.744e-05/0.01575, allocations: 164.2 kB / 266.4 MB, free: 7.445 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01575, allocations: 0 / 266.4 MB, free: 7.445 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.01602, allocations: 107.7 kB / 266.5 MB, free: 7.34 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.0001043/0.01612, allocations: 107.2 kB / 266.6 MB, free: 7.227 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.01636, allocations: 159.3 kB / 266.7 MB, free: 7.066 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01636, allocations: 0 / 266.7 MB, free: 7.066 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.01666, allocations: 314.5 kB / 267.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.01689, allocations: 24.28 kB / 267.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.01769, allocations: 0.7168 MB / 267.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.944e-05/0.01775, allocations: 96.3 kB / 267.9 MB, free: 5.848 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.529e-05/0.0178, allocations: 25.94 kB / 267.9 MB, free: 5.82 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.01785, allocations: 20.5 kB / 267.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01785, allocations: 0 / 267.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of Templates: time 0.005173/0.02302, allocations: 3.004 MB / 270.9 MB, free: 2.812 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.685512075666338]