Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001844/0.001844, allocations: 85.88 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002189/0.002189, allocations: 163.2 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 325.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.698e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004208/0.004235, allocations: 3.066 MB / 328.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.006526, allocations: 1.31 MB / 329.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.006696, allocations: 11.22 kB / 329.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.007107, allocations: 148.7 kB / 329.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.008183, allocations: 422.2 kB / 330 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.008652, allocations: 182.7 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006883/0.00934, allocations: 477.5 kB / 330.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.009565, allocations: 98.45 kB / 330.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.009934, allocations: 263.5 kB / 331 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.01024, allocations: 144.7 kB / 331.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.01032, allocations: 35.03 kB / 331.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.0107, allocations: 160 kB / 331.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.01079, allocations: 86.39 kB / 331.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.01095, allocations: 135.5 kB / 331.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007818/0.01173, allocations: 0.5676 MB / 332.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01174, allocations: 0 / 332.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01174, allocations: 0 / 332.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.01175, allocations: 0 / 332.1 MB, free: 12.12 MB / 302.1 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.00149/0.01324, allocations: 0.6793 MB / 332.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.01327, allocations: 13.44 kB / 332.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000788/0.01406, allocations: 114.2 kB / 332.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.0145, allocations: 254.5 kB / 333.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.01453, allocations: 27.84 kB / 333.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.0146, allocations: 34.16 kB / 333.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.01529, allocations: 409.6 kB / 333.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.01531, allocations: 192 / 333.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.01535, allocations: 16.16 kB / 333.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.01536, allocations: 12.03 kB / 333.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005477/0.0159, allocations: 248.2 kB / 333.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.01796, allocations: 1.128 MB / 335 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.01836, allocations: 187.3 kB / 335.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.01852, allocations: 77.83 kB / 335.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000763/0.01929, allocations: 0.557 MB / 335.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.01932, allocations: 32.78 kB / 335.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.502e-06/0.01932, allocations: 1.188 kB / 335.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005656/0.01988, allocations: 221.1 kB / 336.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.01994, allocations: 83.72 kB / 336.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.02024, allocations: 290.5 kB / 336.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.02027, allocations: 31.98 kB / 336.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.02044, allocations: 237.9 kB / 336.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.02049, allocations: 75.03 kB / 336.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.02059, allocations: 64.56 kB / 336.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.02074, allocations: 340.7 kB / 337.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.0209, allocations: 65.88 kB / 337.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.02115, allocations: 200.3 kB / 337.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.02159, allocations: 297.6 kB / 337.7 MB, free: 7.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.0216, allocations: 1.688 kB / 337.7 MB, free: 7.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005474/0.02215, allocations: 308.2 kB / 338 MB, free: 7.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.02216, allocations: 10.98 kB / 338 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.02217, allocations: 8.906 kB / 338.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.02219, allocations: 5.906 kB / 338.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.02248, allocations: 81.25 kB / 338.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.02249, allocations: 11.02 kB / 338.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.0227, allocations: 36.61 kB / 338.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.02273, allocations: 20.5 kB / 338.2 MB, free: 7.355 MB / 302.1 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.0001874/0.02292, allocations: 159.4 kB / 338.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.02299, allocations: 24.52 kB / 338.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.02305, allocations: 32.58 kB / 338.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.02306, allocations: 2.312 kB / 338.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.02307, allocations: 1.094 kB / 338.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.02307, allocations: 4.953 kB / 338.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/0.02373, allocations: 424.8 kB / 338.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02373, allocations: 4.031 kB / 338.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.02395, allocations: 42.03 kB / 338.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.02395, allocations: 2.375 kB / 338.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.02397, allocations: 5.25 kB / 338.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.02397, allocations: 2.5 kB / 338.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02397, allocations: 0 / 338.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.02457, allocations: 426 kB / 339.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.02462, allocations: 27.83 kB / 339.3 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.02466, allocations: 12.06 kB / 339.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.02488, allocations: 15.92 kB / 339.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.02493, allocations: 15.92 kB / 339.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.02494, allocations: 4 kB / 339.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.02515, allocations: 199.1 kB / 339.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02515, allocations: 0 / 339.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004498/0.0256, allocations: 87.78 kB / 339.7 MB, free: 6.086 MB / 302.1 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.0001711/0.02577, allocations: 115.2 kB / 339.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.02618, allocations: 176.7 kB / 340 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02618, allocations: 4.188 kB / 340 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.02634, allocations: 75.84 kB / 340 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.02676, allocations: 28.16 kB / 340.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.02781, allocations: 0.5952 MB / 340.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.02797, allocations: 168.8 kB / 340.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.02809, allocations: 30.97 kB / 340.9 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.02815, allocations: 28.5 kB / 340.9 MB, free: 4.824 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02815, allocations: 0 / 340.9 MB, free: 4.824 MB / 302.1 MB Notification: Performance of Templates: time 0.006877/0.03503, allocations: 2.194 MB / 343.1 MB, free: 2.672 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.259148854762316]