Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.0007588/0.0007588, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009884/0.001747, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006447/0.0006447, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008875/0.001532, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9144/0.9144, allocations: 173.3 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07531/0.9897, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.113e-05, allocations: 6.312 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004678/0.0047, allocations: 3.279 MB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.007094, allocations: 1.3 MB / 244.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.00737, allocations: 15.94 kB / 244.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.007825, allocations: 143 kB / 244.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.008967, allocations: 453.2 kB / 244.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.009404, allocations: 163.5 kB / 244.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006974/0.0101, allocations: 465.8 kB / 245.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.01033, allocations: 111.3 kB / 245.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005077/0.01084, allocations: 319.6 kB / 245.8 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.01118, allocations: 183.5 kB / 245.9 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.871e-05/0.01125, allocations: 40 kB / 246 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003891/0.01164, allocations: 155.7 kB / 246.1 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.01171, allocations: 59.75 kB / 246.2 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.01184, allocations: 107.8 kB / 246.3 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.01243, allocations: 370.6 kB / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.709e-05/0.01245, allocations: 0 / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01245, allocations: 0 / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.834e-05/0.01248, allocations: 0 / 246.7 MB, free: 12.04 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.001278/0.01376, allocations: 0.8049 MB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.01379, allocations: 12.03 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/0.01429, allocations: 124.8 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.01462, allocations: 205 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.01464, allocations: 21.38 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.01469, allocations: 36.38 kB / 247.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.01509, allocations: 321.8 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.01511, allocations: 4.188 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.01513, allocations: 16.38 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.01515, allocations: 11.94 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.01533, allocations: 83.39 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.01685, allocations: 0.984 MB / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.01708, allocations: 117.1 kB / 249.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.01715, allocations: 45.69 kB / 249.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.01773, allocations: 493.1 kB / 249.9 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.01776, allocations: 34.56 kB / 249.9 MB, free: 8.543 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.01776, allocations: 0 / 249.9 MB, free: 8.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002412/0.018, allocations: 121.6 kB / 250 MB, free: 8.418 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.01804, allocations: 77.11 kB / 250.1 MB, free: 8.324 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.01824, allocations: 263 kB / 250.4 MB, free: 8.055 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.01826, allocations: 33.64 kB / 250.4 MB, free: 8.016 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01838, allocations: 227.9 kB / 250.6 MB, free: 7.785 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.01843, allocations: 67.45 kB / 250.7 MB, free: 7.719 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.01851, allocations: 69.95 kB / 250.8 MB, free: 7.641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.01863, allocations: 342.7 kB / 251.1 MB, free: 7.297 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.562e-05/0.01867, allocations: 24.64 kB / 251.1 MB, free: 7.273 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.0188, allocations: 158.4 kB / 251.3 MB, free: 7.059 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.01902, allocations: 225 kB / 251.5 MB, free: 6.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.01902, allocations: 0 / 251.5 MB, free: 6.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002725/0.01929, allocations: 212.7 kB / 251.7 MB, free: 6.566 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.01931, allocations: 8 kB / 251.7 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.01932, allocations: 4 kB / 251.7 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01934, allocations: 4 kB / 251.7 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.01966, allocations: 91.88 kB / 251.8 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.01967, allocations: 16 kB / 251.8 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.01982, allocations: 44.11 kB / 251.9 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.01984, allocations: 15.94 kB / 251.9 MB, free: 6.387 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 9.602e-05/0.01993, allocations: 121.8 kB / 252 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.01999, allocations: 27.97 kB / 252 MB, free: 6.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.02004, allocations: 25.8 kB / 252.1 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.02004, allocations: 4 kB / 252.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.02004, allocations: 0 / 252.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.02005, allocations: 0 / 252.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.02049, allocations: 307.3 kB / 252.4 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.02049, allocations: 4.031 kB / 252.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.02069, allocations: 58.7 kB / 252.4 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.02072, allocations: 23.8 kB / 252.5 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.02072, allocations: 0 / 252.5 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.02073, allocations: 4 kB / 252.5 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.02074, allocations: 7.938 kB / 252.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02074, allocations: 0 / 252.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.02099, allocations: 307.5 kB / 252.8 MB, free: 5.461 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.02102, allocations: 0 / 252.8 MB, free: 5.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.02117, allocations: 20.02 kB / 252.8 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.02121, allocations: 11.92 kB / 252.8 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.02122, allocations: 8 kB / 252.8 MB, free: 5.422 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.112e-05/0.02132, allocations: 88.64 kB / 252.9 MB, free: 5.332 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02132, allocations: 0 / 252.9 MB, free: 5.332 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.02171, allocations: 83.84 kB / 253 MB, free: 5.25 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.0001526/0.02187, allocations: 112.3 kB / 253.1 MB, free: 5.129 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.02205, allocations: 113.5 kB / 253.2 MB, free: 5.016 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.02206, allocations: 8 kB / 253.2 MB, free: 5.008 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/0.02212, allocations: 48.95 kB / 253.2 MB, free: 4.957 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.02246, allocations: 48.17 kB / 253.3 MB, free: 4.914 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.02685, allocations: 0.6095 MB / 253.9 MB, free: 4.273 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.02692, allocations: 92.17 kB / 254 MB, free: 4.164 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.02705, allocations: 34.95 kB / 254 MB, free: 4.133 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.02719, allocations: 87.36 kB / 254.1 MB, free: 4.047 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02719, allocations: 0 / 254.1 MB, free: 4.047 MB / 250.7 MB Notification: Performance of Templates: time 0.006491/0.03368, allocations: 2.514 MB / 256.6 MB, free: 1.574 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.470412657596171]