Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009154, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 151.5 kB / 25.6 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8692/0.8692, allocations: 173.4 MB / 202.2 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 269.2 MB, free: 9.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.55e-05, allocations: 4 kB / 269.2 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003797/0.003812, allocations: 2.746 MB / 271.9 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.005007, allocations: 0.7016 MB / 272.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.005152, allocations: 4 kB / 272.6 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.005277, allocations: 71.34 kB / 272.7 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.005502, allocations: 100.8 kB / 272.8 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.005831, allocations: 124.3 kB / 272.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.006262, allocations: 467.2 kB / 273.4 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.006527, allocations: 150 kB / 273.5 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.00686, allocations: 283.5 kB / 273.8 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.007071, allocations: 148.2 kB / 274 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.007134, allocations: 44 kB / 274 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.206e-05/0.007196, allocations: 48.72 kB / 274 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.007275, allocations: 99.7 kB / 274.1 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.007414, allocations: 158.1 kB / 274.3 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.007761, allocations: 318.9 kB / 274.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.007763, allocations: 0 / 274.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007763, allocations: 0 / 274.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.007768, allocations: 0 / 274.6 MB, free: 4.453 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.0008971/0.008665, allocations: 0.7244 MB / 275.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.008699, allocations: 16.03 kB / 275.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.008814, allocations: 80.66 kB / 275.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.009144, allocations: 220.7 kB / 275.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.009178, allocations: 37.38 kB / 275.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.009243, allocations: 40.38 kB / 275.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.009694, allocations: 0.542 MB / 276.3 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.009708, allocations: 192 / 276.3 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.009733, allocations: 20.38 kB / 276.3 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.009743, allocations: 11.94 kB / 276.3 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.009908, allocations: 134.9 kB / 276.4 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.01103, allocations: 1.081 MB / 277.5 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.01126, allocations: 167 kB / 277.7 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.01142, allocations: 126.1 kB / 277.8 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.01144, allocations: 8 kB / 277.8 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.01146, allocations: 37.39 kB / 277.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.01146, allocations: 0 / 277.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006748/0.01214, allocations: 377.2 kB / 278.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.01221, allocations: 239.3 kB / 278.4 MB, free: 328 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.01232, allocations: 233.8 kB / 278.7 MB, free: 76 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.01234, allocations: 29.7 kB / 278.7 MB, free: 40 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.01246, allocations: 259.3 kB / 278.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.01251, allocations: 107 kB / 279 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.01258, allocations: 67.33 kB / 279.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.0127, allocations: 0.504 MB / 279.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.01275, allocations: 31.97 kB / 279.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.0129, allocations: 320.5 kB / 280 MB, free: 14.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.01303, allocations: 128.6 kB / 280.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01303, allocations: 4 kB / 280.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002002/0.01323, allocations: 201.2 kB / 280.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.01324, allocations: 10.03 kB / 280.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01325, allocations: 0 / 280.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.01326, allocations: 0 / 280.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.01344, allocations: 87.83 kB / 280.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01345, allocations: 3.938 kB / 280.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.01353, allocations: 27.78 kB / 280.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01354, allocations: 12 kB / 280.4 MB, free: 14.18 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 9.6e-05/0.01364, allocations: 172.6 kB / 280.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.01368, allocations: 31.91 kB / 280.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.01372, allocations: 34.58 kB / 280.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01372, allocations: 4 kB / 280.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.01372, allocations: 7.938 kB / 280.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01373, allocations: 0 / 280.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.01422, allocations: 0.5594 MB / 281.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01423, allocations: 3.984 kB / 281.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.01435, allocations: 51.91 kB / 281.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/0.01456, allocations: 87.64 kB / 281.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.01458, allocations: 8 kB / 281.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.01574, allocations: 2.093 MB / 283.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01574, allocations: 0 / 283.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.01618, allocations: 431.4 kB / 283.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.0162, allocations: 31.78 kB / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.01623, allocations: 8 kB / 283.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.0163, allocations: 12.03 kB / 283.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.01635, allocations: 27.89 kB / 284 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01636, allocations: 4 kB / 284 MB, free: 10.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.924e-05/0.01642, allocations: 164.7 kB / 284.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01642, allocations: 0 / 284.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000259/0.01668, allocations: 103.7 kB / 284.2 MB, free: 10.16 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 9.986e-05/0.01678, allocations: 99.25 kB / 284.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.01695, allocations: 139.4 kB / 284.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01695, allocations: 8.062 kB / 284.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.01719, allocations: 306.1 kB / 284.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.01743, allocations: 35.92 kB / 284.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/0.01824, allocations: 0.7205 MB / 285.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.318e-05/0.0183, allocations: 96.3 kB / 285.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.01835, allocations: 29.92 kB / 285.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.01847, allocations: 126.1 kB / 285.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01847, allocations: 0 / 285.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of Templates: time 0.005642/0.02411, allocations: 3.403 MB / 289.2 MB, free: 5.176 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.6650252221152186]