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.001282/0.001282, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002025/0.003306, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001249/0.001249, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002847, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8572/0.8572, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1345/0.9917, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.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.403e-06/1.403e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002e-05/1.142e-05, allocations: 2.312 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002487/0.002498, allocations: 2.749 MB / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.00352, allocations: 0.7757 MB / 225.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003628, allocations: 4 kB / 225.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.978e-05/0.003718, allocations: 71.34 kB / 225.4 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.003847, allocations: 95 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.004067, allocations: 119.8 kB / 225.6 MB, free: 12.33 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.004398, allocations: 450.7 kB / 226.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.004619, allocations: 163.3 kB / 226.2 MB, free: 11.72 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.004871, allocations: 287.5 kB / 226.5 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.005017, allocations: 151.5 kB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.005065, allocations: 44 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.005104, allocations: 48 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.00515, allocations: 71.75 kB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.005239, allocations: 123.8 kB / 226.9 MB, free: 11.01 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.0055, allocations: 298.8 kB / 227.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.005514, allocations: 0 / 227.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005515, allocations: 0 / 227.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.00553, allocations: 0 / 227.2 MB, free: 10.72 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.000712/0.006242, allocations: 0.6793 MB / 227.9 MB, free: 10.02 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.006271, allocations: 8.031 kB / 227.9 MB, free: 10.01 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.006339, allocations: 64.89 kB / 228 MB, free: 9.945 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.006533, allocations: 189.8 kB / 228.2 MB, free: 9.73 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.006554, allocations: 29.38 kB / 228.2 MB, free: 9.703 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.006601, allocations: 44.38 kB / 228.2 MB, free: 9.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.006968, allocations: 0.5277 MB / 228.8 MB, free: 9.051 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.006982, allocations: 4.188 kB / 228.8 MB, free: 9.047 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.007004, allocations: 16.38 kB / 228.8 MB, free: 9.031 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.007014, allocations: 11.94 kB / 228.8 MB, free: 9.02 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.007151, allocations: 118.9 kB / 228.9 MB, free: 8.906 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.008112, allocations: 0.9151 MB / 229.8 MB, free: 7.938 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.008317, allocations: 142.7 kB / 230 MB, free: 7.789 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.00846, allocations: 108.8 kB / 230.1 MB, free: 7.68 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.008478, allocations: 8 kB / 230.1 MB, free: 7.672 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.008502, allocations: 46.42 kB / 230.1 MB, free: 7.621 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.008504, allocations: 0 / 230.1 MB, free: 7.621 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005545/0.009058, allocations: 322.6 kB / 230.4 MB, free: 7.297 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.009083, allocations: 55.41 kB / 230.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.00917, allocations: 179.3 kB / 230.7 MB, free: 7.043 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.009188, allocations: 37.7 kB / 230.7 MB, free: 7 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.009262, allocations: 204.4 kB / 230.9 MB, free: 6.797 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.009312, allocations: 111 kB / 231 MB, free: 6.688 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.009367, allocations: 57.67 kB / 231.1 MB, free: 6.625 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.009451, allocations: 338.8 kB / 231.4 MB, free: 6.285 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.009483, allocations: 23.98 kB / 231.4 MB, free: 6.262 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.009597, allocations: 284.6 kB / 231.7 MB, free: 5.91 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.009746, allocations: 164.9 kB / 231.9 MB, free: 5.742 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.009748, allocations: 4 kB / 231.9 MB, free: 5.738 MB / 234.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001442/0.009893, allocations: 161.6 kB / 232 MB, free: 5.574 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.009906, allocations: 4 kB / 232 MB, free: 5.57 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.009912, allocations: 4 kB / 232 MB, free: 5.566 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.009922, allocations: 0 / 232 MB, free: 5.566 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.01018, allocations: 113.7 kB / 232.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01019, allocations: 4 kB / 232.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.01026, allocations: 27.84 kB / 232.2 MB, free: 5.426 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.01027, allocations: 12.05 kB / 232.2 MB, free: 5.414 MB / 234.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.0001254/0.01039, allocations: 137.8 kB / 232.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.01043, allocations: 31.91 kB / 232.4 MB, free: 5.238 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.01047, allocations: 26.66 kB / 232.4 MB, free: 5.215 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.01047, allocations: 4 kB / 232.4 MB, free: 5.211 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01048, allocations: 0 / 232.4 MB, free: 5.211 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01048, allocations: 3.984 kB / 232.4 MB, free: 5.207 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.01091, allocations: 450 kB / 232.8 MB, free: 4.738 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.01092, allocations: 7.938 kB / 232.8 MB, free: 4.73 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.01108, allocations: 63.94 kB / 232.9 MB, free: 4.668 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.0111, allocations: 23.8 kB / 232.9 MB, free: 4.645 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.0113, allocations: 88.75 kB / 233 MB, free: 4.555 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01132, allocations: 8 kB / 233 MB, free: 4.547 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008652/0.01218, allocations: 1.479 MB / 234.5 MB, free: 2.977 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01218, allocations: 0 / 234.5 MB, free: 2.977 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.01246, allocations: 338.3 kB / 234.8 MB, free: 2.625 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.01248, allocations: 8 kB / 234.8 MB, free: 2.617 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.01255, allocations: 8.109 kB / 234.8 MB, free: 2.609 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.0126, allocations: 35.83 kB / 234.9 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.0126, allocations: 3.984 kB / 234.9 MB, free: 2.57 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.312e-05/0.01264, allocations: 53.05 kB / 234.9 MB, free: 2.516 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01264, allocations: 0 / 234.9 MB, free: 2.516 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.01285, allocations: 111.7 kB / 235 MB, free: 2.406 MB / 234.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 7.936e-05/0.01293, allocations: 88.45 kB / 235.1 MB, free: 2.312 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.01309, allocations: 128.9 kB / 235.3 MB, free: 2.184 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.0131, allocations: 4 kB / 235.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.01331, allocations: 244.2 kB / 235.5 MB, free: 1.926 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.01348, allocations: 52.11 kB / 235.6 MB, free: 1.875 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.0147, allocations: 0.6552 MB / 236.2 MB, free: 1.188 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.01476, allocations: 116 kB / 236.3 MB, free: 1.055 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.666e-05/0.01482, allocations: 21.95 kB / 236.3 MB, free: 1.031 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.01493, allocations: 103.3 kB / 236.4 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01493, allocations: 0 / 236.4 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of Templates: time 0.005756/0.02068, allocations: 3.505 MB / 239.9 MB, free: 13.43 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 -ignoreHideResult -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.5102596106007695]