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.001382/0.001382, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001525/0.001525, allocations: 176.5 kB / 25.34 MB, free: 9.438 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.8933/0.8933, allocations: 158.6 MB / 187.2 MB, free: 2.547 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.904e-06/1.904e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.649e-05, allocations: 2.312 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004189/0.004225, allocations: 2.731 MB / 253.8 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.005877, allocations: 0.737 MB / 254.5 MB, free: 108 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.006112, allocations: 8 kB / 254.5 MB, free: 100 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.006272, allocations: 67.34 kB / 254.6 MB, free: 32 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.006576, allocations: 99 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.007049, allocations: 123.8 kB / 254.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005602/0.007609, allocations: 454.7 kB / 255.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.007932, allocations: 153.4 kB / 255.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.008363, allocations: 275.5 kB / 255.7 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.008596, allocations: 139.6 kB / 255.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.439e-05/0.008671, allocations: 48 kB / 255.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.855e-05/0.008739, allocations: 44 kB / 255.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.008824, allocations: 103.6 kB / 256 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.008987, allocations: 159.7 kB / 256.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.009416, allocations: 318.9 kB / 256.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.009421, allocations: 0 / 256.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.009423, allocations: 0 / 256.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.009433, allocations: 0 / 256.5 MB, free: 14.14 MB / 250.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.004074/0.01351, allocations: 0.7106 MB / 257.2 MB, free: 13.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.01356, allocations: 11.98 kB / 257.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.01368, allocations: 76.66 kB / 257.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.01395, allocations: 232.6 kB / 257.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.01398, allocations: 37.3 kB / 257.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.01404, allocations: 48.33 kB / 257.6 MB, free: 12.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.0146, allocations: 0.5655 MB / 258.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.01461, allocations: 4.188 kB / 258.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.01464, allocations: 16.38 kB / 258.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.01466, allocations: 11.94 kB / 258.2 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.01494, allocations: 173.9 kB / 258.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.01676, allocations: 1.104 MB / 259.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.01716, allocations: 178.8 kB / 259.6 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.01747, allocations: 139.5 kB / 259.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.01751, allocations: 4 kB / 259.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.01754, allocations: 41.39 kB / 259.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.344e-06/0.01755, allocations: 0 / 259.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001106/0.01865, allocations: 401.2 kB / 260.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.01876, allocations: 243.3 kB / 260.4 MB, free: 9.871 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.02007, allocations: 229.9 kB / 260.6 MB, free: 9.629 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.02014, allocations: 33.7 kB / 260.7 MB, free: 9.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.02031, allocations: 259.2 kB / 260.9 MB, free: 9.332 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.02041, allocations: 107.1 kB / 261 MB, free: 9.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.02053, allocations: 67.28 kB / 261.1 MB, free: 9.152 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.02071, allocations: 0.5001 MB / 261.6 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.02085, allocations: 43.97 kB / 261.6 MB, free: 8.598 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.02116, allocations: 325 kB / 262 MB, free: 8.195 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.0216, allocations: 217.6 kB / 262.2 MB, free: 7.973 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.0216, allocations: 0 / 262.2 MB, free: 7.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003524/0.02195, allocations: 217.2 kB / 262.4 MB, free: 7.754 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.02198, allocations: 10.97 kB / 262.4 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02198, allocations: 0 / 262.4 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.022, allocations: 3.938 kB / 262.4 MB, free: 7.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.02224, allocations: 83.89 kB / 262.5 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.02225, allocations: 0 / 262.5 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.02234, allocations: 27.78 kB / 262.5 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.02236, allocations: 12 kB / 262.5 MB, free: 7.621 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.0001877/0.02255, allocations: 188.4 kB / 262.7 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.0226, allocations: 35.86 kB / 262.7 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.02265, allocations: 30.66 kB / 262.8 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02266, allocations: 3.938 kB / 262.8 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.02268, allocations: 4 kB / 262.8 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.02268, allocations: 3.984 kB / 262.8 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.0234, allocations: 0.6117 MB / 263.4 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.0234, allocations: 8.031 kB / 263.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.02355, allocations: 47.97 kB / 263.4 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.02386, allocations: 91.55 kB / 263.5 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.02388, allocations: 12 kB / 263.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.02529, allocations: 2.135 MB / 265.7 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.02529, allocations: 3.938 kB / 265.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.02575, allocations: 464.7 kB / 266.1 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.02578, allocations: 19.84 kB / 266.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.0258, allocations: 15.94 kB / 266.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.02589, allocations: 11.98 kB / 266.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.02594, allocations: 19.95 kB / 266.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.02596, allocations: 8 kB / 266.2 MB, free: 3.707 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.184e-05/0.02604, allocations: 168.2 kB / 266.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02604, allocations: 0 / 266.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.02632, allocations: 111.7 kB / 266.5 MB, free: 3.434 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.0001247/0.02644, allocations: 107.2 kB / 266.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.02669, allocations: 155.3 kB / 266.7 MB, free: 3.164 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.02669, allocations: 4 kB / 266.7 MB, free: 3.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.027, allocations: 314.5 kB / 267.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.02724, allocations: 27.89 kB / 267.1 MB, free: 2.805 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.02811, allocations: 0.7168 MB / 267.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.053e-05/0.02818, allocations: 96.3 kB / 267.9 MB, free: 1.938 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.02825, allocations: 25.94 kB / 267.9 MB, free: 1.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.0283, allocations: 20.5 kB / 267.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of SimCode: time 1.323e-06/0.0283, allocations: 0 / 267.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of Templates: time 0.005109/0.03341, allocations: 2.887 MB / 270.8 MB, free: 15.01 MB / 266.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.954345733858645]