Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001032/0.001032, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001813/0.001813, allocations: 164.2 kB / 25.69 MB, free: 8.457 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.9666/0.9666, allocations: 158.6 MB / 187.6 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.03e-05, allocations: 10.25 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004713/0.004743, allocations: 3.238 MB / 254.8 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.007333, allocations: 1.324 MB / 256.1 MB, free: 2.641 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.007637, allocations: 8 kB / 256.1 MB, free: 2.633 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.008135, allocations: 150.9 kB / 256.3 MB, free: 2.484 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008939/0.009028, allocations: 310 kB / 256.6 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.009549, allocations: 263 kB / 256.8 MB, free: 1.922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.01019, allocations: 469.7 kB / 257.3 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.01043, allocations: 99.44 kB / 257.4 MB, free: 1.363 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.01084, allocations: 279.4 kB / 257.7 MB, free: 1.09 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.01113, allocations: 183.5 kB / 257.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.01119, allocations: 36 kB / 257.9 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.01157, allocations: 155.7 kB / 258 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.01163, allocations: 87.66 kB / 258.1 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.01177, allocations: 127.7 kB / 258.2 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.0124, allocations: 398.6 kB / 258.6 MB, free: 124 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.0124, allocations: 3.938 kB / 258.6 MB, free: 120 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01241, allocations: 0 / 258.6 MB, free: 120 kB / 234.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.01241, allocations: 0 / 258.6 MB, free: 120 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00118/0.01359, allocations: 0.6518 MB / 259.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.01363, allocations: 11.98 kB / 259.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.01422, allocations: 124.8 kB / 259.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.01454, allocations: 197.2 kB / 259.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.01456, allocations: 29.36 kB / 259.6 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.01462, allocations: 36.38 kB / 259.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.01503, allocations: 321.8 kB / 260 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01504, allocations: 192 / 260 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.01507, allocations: 12.38 kB / 260 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.01508, allocations: 15.94 kB / 260 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.01526, allocations: 87.39 kB / 260.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.01671, allocations: 0.9839 MB / 261.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.01694, allocations: 117 kB / 261.2 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.017, allocations: 45.81 kB / 261.2 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.01758, allocations: 485.2 kB / 261.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.01761, allocations: 38.5 kB / 261.8 MB, free: 12.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.844e-06/0.01761, allocations: 0 / 261.8 MB, free: 12.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002592/0.01787, allocations: 109.6 kB / 261.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.01791, allocations: 85.09 kB / 262 MB, free: 12.58 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.01811, allocations: 263 kB / 262.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.01813, allocations: 25.7 kB / 262.2 MB, free: 12.28 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.01826, allocations: 235.9 kB / 262.5 MB, free: 12.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.0183, allocations: 63.42 kB / 262.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.01839, allocations: 66 kB / 262.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.0185, allocations: 346.6 kB / 262.9 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.01855, allocations: 24.64 kB / 263 MB, free: 11.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.01868, allocations: 162.3 kB / 263.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.0189, allocations: 220.8 kB / 263.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.0189, allocations: 0 / 263.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003024/0.01921, allocations: 209.6 kB / 263.5 MB, free: 10.83 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.01923, allocations: 8 kB / 263.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.01924, allocations: 4.25 kB / 263.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.01926, allocations: 8 kB / 263.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.01956, allocations: 95.81 kB / 263.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.01957, allocations: 8 kB / 263.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.01972, allocations: 35.77 kB / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.01974, allocations: 19.94 kB / 263.7 MB, free: 10.66 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001021/0.01984, allocations: 125.9 kB / 263.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.0199, allocations: 27.91 kB / 263.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.01995, allocations: 21.81 kB / 263.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01995, allocations: 4 kB / 263.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01996, allocations: 3.984 kB / 263.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01996, allocations: 0 / 263.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.02041, allocations: 307.3 kB / 264.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.02041, allocations: 0 / 264.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.02061, allocations: 52 kB / 264.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.02061, allocations: 0 / 264.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.02062, allocations: 7.984 kB / 264.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02063, allocations: 0 / 264.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.02063, allocations: 4 kB / 264.2 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.02092, allocations: 303.4 kB / 264.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.02096, allocations: 27.75 kB / 264.6 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.02099, allocations: 7.984 kB / 264.6 MB, free: 9.723 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.02115, allocations: 15.97 kB / 264.6 MB, free: 9.707 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.0212, allocations: 23.91 kB / 264.6 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.02121, allocations: 0 / 264.6 MB, free: 9.684 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.555e-05/0.0213, allocations: 88.64 kB / 264.7 MB, free: 9.594 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0213, allocations: 4 kB / 264.7 MB, free: 9.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004165/0.02172, allocations: 79.84 kB / 264.8 MB, free: 9.512 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.02187, allocations: 96.34 kB / 264.9 MB, free: 9.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.02208, allocations: 121.1 kB / 265 MB, free: 9.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.02209, allocations: 4 kB / 265 MB, free: 9.289 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.367e-05/0.02215, allocations: 45.83 kB / 265 MB, free: 9.242 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.02249, allocations: 33.22 kB / 265.1 MB, free: 9.211 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.02367, allocations: 0.5793 MB / 265.7 MB, free: 8.594 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.446e-05/0.02374, allocations: 88.31 kB / 265.7 MB, free: 8.488 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.02386, allocations: 30.97 kB / 265.8 MB, free: 8.461 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.024, allocations: 91.36 kB / 265.9 MB, free: 8.371 MB / 250.7 MB Notification: Performance of SimCode: time 1.102e-06/0.024, allocations: 0 / 265.9 MB, free: 8.371 MB / 250.7 MB Notification: Performance of Templates: time 0.004581/0.02858, allocations: 2.424 MB / 268.3 MB, free: 5.977 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.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.6926045287400484]