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.001855/0.001855, allocations: 88.23 kB / 21.44 MB, free: 276 kB / 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.002012/0.002012, allocations: 162.9 kB / 24.71 MB, free: 3.527 MB / 14.72 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 1.337/1.337, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] 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.462e-06/1.462e-06, allocations: 3.938 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.349e-05, allocations: 2.281 kB / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004195/0.004219, allocations: 2.983 MB / 301.9 MB, free: 5.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.006294, allocations: 1.254 MB / 303.2 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.006448, allocations: 11.94 kB / 303.2 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.00685, allocations: 150.9 kB / 303.3 MB, free: 4.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007942/0.007644, allocations: 318 kB / 303.7 MB, free: 3.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.008182, allocations: 239.2 kB / 303.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.008775, allocations: 469.7 kB / 304.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.008974, allocations: 104.8 kB / 304.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.009266, allocations: 247.3 kB / 304.7 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.009527, allocations: 151.6 kB / 304.8 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.009594, allocations: 39.98 kB / 304.9 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.009883, allocations: 151.7 kB / 305 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.009968, allocations: 87.61 kB / 305.1 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.01012, allocations: 131.7 kB / 305.2 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.0108, allocations: 0.5451 MB / 305.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.0108, allocations: 0 / 305.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.0108, allocations: 0 / 305.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.01081, allocations: 0 / 305.8 MB, free: 1.84 MB / 286.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.00144/0.01225, allocations: 0.6728 MB / 306.5 MB, free: 1.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.01228, allocations: 11.98 kB / 306.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006298/0.01291, allocations: 96.59 kB / 306.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.01336, allocations: 254 kB / 306.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.0134, allocations: 25.38 kB / 306.8 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/0.01346, allocations: 36.38 kB / 306.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.01411, allocations: 409.1 kB / 307.3 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.01413, allocations: 192 / 307.3 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.01416, allocations: 12.36 kB / 307.3 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.01417, allocations: 15.94 kB / 307.3 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.01467, allocations: 241.9 kB / 307.5 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.01668, allocations: 1.13 MB / 308.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.01709, allocations: 181.2 kB / 308.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.01726, allocations: 81.69 kB / 308.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000689/0.01795, allocations: 0.5224 MB / 309.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.01798, allocations: 42.61 kB / 309.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.01798, allocations: 0 / 309.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005675/0.01855, allocations: 217.4 kB / 309.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.01861, allocations: 81.11 kB / 309.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.01891, allocations: 284.2 kB / 310.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.01893, allocations: 29.7 kB / 310.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.0191, allocations: 251.9 kB / 310.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.01916, allocations: 63.48 kB / 310.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.01926, allocations: 61.97 kB / 310.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.01941, allocations: 342.8 kB / 310.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.01958, allocations: 64.62 kB / 310.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.01983, allocations: 198.4 kB / 311 MB, free: 12.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.02028, allocations: 296.8 kB / 311.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02028, allocations: 0 / 311.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005631/0.02084, allocations: 321.2 kB / 311.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.02086, allocations: 10.5 kB / 311.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.02087, allocations: 7.938 kB / 311.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.02089, allocations: 4 kB / 311.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.02117, allocations: 79.91 kB / 311.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.02119, allocations: 11.92 kB / 311.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.02139, allocations: 40.12 kB / 311.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.02141, allocations: 16 kB / 311.8 MB, free: 11.41 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.0001573/0.02157, allocations: 153.7 kB / 312 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.02164, allocations: 31.8 kB / 312 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/0.02171, allocations: 29.81 kB / 312 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.02171, allocations: 3.984 kB / 312 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.02172, allocations: 7.984 kB / 312 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.02173, allocations: 0 / 312 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.02235, allocations: 418.8 kB / 312.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02235, allocations: 0 / 312.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.02257, allocations: 47.91 kB / 312.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.02257, allocations: 0 / 312.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.02259, allocations: 8.312 kB / 312.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.02259, allocations: 0 / 312.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.0226, allocations: 4 kB / 312.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.02318, allocations: 419.3 kB / 312.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.02322, allocations: 39.8 kB / 312.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.02327, allocations: 8 kB / 313 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.02349, allocations: 11.98 kB / 313 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.02354, allocations: 15.92 kB / 313 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.02355, allocations: 4 kB / 313 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.02376, allocations: 199 kB / 313.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02376, allocations: 0 / 313.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.02419, allocations: 83.78 kB / 313.3 MB, free: 9.887 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.0001705/0.02437, allocations: 111.2 kB / 313.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.02479, allocations: 184.8 kB / 313.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.02479, allocations: 8.062 kB / 313.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.02494, allocations: 63.91 kB / 313.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.02534, allocations: 24.98 kB / 313.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.02644, allocations: 0.5831 MB / 314.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.02661, allocations: 172.6 kB / 314.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.02673, allocations: 38.25 kB / 314.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.0268, allocations: 32.44 kB / 314.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.0268, allocations: 0 / 314.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Templates: time 0.006364/0.03316, allocations: 2.147 MB / 316.6 MB, free: 6.484 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.358906574547291]