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.0007816/0.0007816, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.001908, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007564/0.0007564, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009815/0.001738, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.923/0.923, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07706/1, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.103e-06/1.103e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.258e-05, allocations: 6.25 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002893/0.002906, allocations: 3.32 MB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.00429, allocations: 1.401 MB / 249.4 MB, free: 9.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.00441, allocations: 11.94 kB / 249.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.004642, allocations: 146.9 kB / 249.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.005183, allocations: 429.4 kB / 250 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.005404, allocations: 171.4 kB / 250.2 MB, free: 8.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.005792, allocations: 477.9 kB / 250.6 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.005933, allocations: 113.5 kB / 250.7 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.006202, allocations: 339.9 kB / 251.1 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.006384, allocations: 179.5 kB / 251.2 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.006422, allocations: 36 kB / 251.3 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.006643, allocations: 167.7 kB / 251.4 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.006684, allocations: 59.81 kB / 251.5 MB, free: 7.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.807e-05/0.006762, allocations: 115.8 kB / 251.6 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.007113, allocations: 370.7 kB / 252 MB, free: 6.914 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.007123, allocations: 0 / 252 MB, free: 6.914 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007124, allocations: 3.938 kB / 252 MB, free: 6.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.007133, allocations: 8 kB / 252 MB, free: 6.902 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008908/0.008024, allocations: 0.8087 MB / 252.8 MB, free: 6.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.00805, allocations: 11.98 kB / 252.8 MB, free: 6.039 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003826/0.008433, allocations: 144.6 kB / 252.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.008641, allocations: 214.3 kB / 253.2 MB, free: 5.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.00866, allocations: 25.38 kB / 253.2 MB, free: 5.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.008695, allocations: 36.38 kB / 253.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.008963, allocations: 321.8 kB / 253.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.008972, allocations: 192 / 253.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.008991, allocations: 12.38 kB / 253.5 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.008999, allocations: 11.94 kB / 253.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.009115, allocations: 92.2 kB / 253.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009117/0.01003, allocations: 0.9879 MB / 254.6 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.01018, allocations: 113.2 kB / 254.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.01022, allocations: 53.62 kB / 254.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.283e-05/0.01028, allocations: 15.98 kB / 254.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.0103, allocations: 38.56 kB / 254.9 MB, free: 3.836 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.032e-06/0.0103, allocations: 0 / 254.9 MB, free: 3.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001742/0.01048, allocations: 129.8 kB / 255 MB, free: 3.703 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.0105, allocations: 77.11 kB / 255.1 MB, free: 3.609 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.01064, allocations: 260.8 kB / 255.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.01065, allocations: 29.7 kB / 255.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.01073, allocations: 212.6 kB / 255.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.01076, allocations: 79.33 kB / 255.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.01083, allocations: 65.98 kB / 255.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.0109, allocations: 338.8 kB / 256 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.01093, allocations: 24.64 kB / 256 MB, free: 2.578 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.01101, allocations: 142.9 kB / 256.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.01114, allocations: 199.8 kB / 256.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01115, allocations: 4 kB / 256.4 MB, free: 2.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001683/0.01132, allocations: 205.2 kB / 256.6 MB, free: 1.938 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.01133, allocations: 4.938 kB / 256.6 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01133, allocations: 7.938 kB / 256.6 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01134, allocations: 8 kB / 256.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.01155, allocations: 99.81 kB / 256.7 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01156, allocations: 7.938 kB / 256.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.01164, allocations: 40.05 kB / 256.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.01165, allocations: 8 kB / 256.8 MB, free: 1.766 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 7.054e-05/0.01172, allocations: 129.7 kB / 256.9 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.01176, allocations: 27.91 kB / 256.9 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.01188, allocations: 111 kB / 257 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01188, allocations: 4 kB / 257 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01188, allocations: 3.984 kB / 257 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01189, allocations: 4 kB / 257 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.01223, allocations: 431.1 kB / 257.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01223, allocations: 3.938 kB / 257.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.01237, allocations: 71.89 kB / 257.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.01239, allocations: 23.81 kB / 257.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.0124, allocations: 0 / 257.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.01241, allocations: 4 kB / 257.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01241, allocations: 80 / 257.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01241, allocations: 8.016 kB / 257.6 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.01277, allocations: 327.2 kB / 257.9 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.01281, allocations: 7.938 kB / 257.9 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.01295, allocations: 15.98 kB / 257.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.01299, allocations: 11.98 kB / 257.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.013, allocations: 7.984 kB / 257.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.675e-05/0.01307, allocations: 86.77 kB / 258 MB, free: 460 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01307, allocations: 0 / 258 MB, free: 460 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.000276/0.01335, allocations: 99.7 kB / 258.1 MB, free: 360 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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 (21): * Single equations (assignments): 21 * 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.0001728/0.01352, allocations: 112.4 kB / 258.2 MB, free: 240 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.01369, allocations: 127.8 kB / 258.3 MB, free: 116 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/0.01371, allocations: 8 kB / 258.3 MB, free: 108 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.01378, allocations: 72.69 kB / 258.4 MB, free: 32 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.0141, allocations: 242.6 kB / 258.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.01681, allocations: 0.6181 MB / 259.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.202e-05/0.01687, allocations: 96.55 kB / 259.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.851e-05/0.01696, allocations: 38.95 kB / 259.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.01706, allocations: 95.36 kB / 259.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01706, allocations: 0 / 259.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Templates: time 0.005268/0.02233, allocations: 2.623 MB / 262.1 MB, free: 12.29 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.440342117100954]