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.001927/0.001927, allocations: 96.62 kB / 20.96 MB, free: 3.594 MB / 18.57 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.002181/0.002181, allocations: 149.3 kB / 24.25 MB, free: 308 kB / 18.57 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 1.607/1.607, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.974e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00535/0.005379, allocations: 3.04 MB / 270.3 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.0078, allocations: 1.214 MB / 271.6 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.007982, allocations: 11.94 kB / 271.6 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.008395, allocations: 139 kB / 271.7 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.0095, allocations: 457.2 kB / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.009898, allocations: 155.5 kB / 272.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006502/0.01055, allocations: 461.8 kB / 272.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.01075, allocations: 104.8 kB / 272.9 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.01109, allocations: 255.3 kB / 273.1 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.01136, allocations: 147.6 kB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.01142, allocations: 36 kB / 273.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.01172, allocations: 151.7 kB / 273.4 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-05/0.01181, allocations: 83.61 kB / 273.5 MB, free: 488 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.01198, allocations: 135.7 kB / 273.7 MB, free: 352 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000769/0.01275, allocations: 0.5451 MB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.01276, allocations: 4 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01276, allocations: 0 / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.01276, allocations: 0 / 274.2 MB, free: 15.79 MB / 266.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.001483/0.01425, allocations: 0.6728 MB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.01428, allocations: 8.922 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006853/0.01497, allocations: 144.5 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.01544, allocations: 262 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.01547, allocations: 21.38 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.01554, allocations: 40.33 kB / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.01625, allocations: 401.2 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.01627, allocations: 192 / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.01631, allocations: 16.38 kB / 275.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.01633, allocations: 11.94 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.01687, allocations: 249.8 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.01922, allocations: 1.138 MB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.01964, allocations: 185.2 kB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.01983, allocations: 81.61 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.02056, allocations: 0.5263 MB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.02061, allocations: 42.55 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.02061, allocations: 0 / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005826/0.02119, allocations: 213.5 kB / 278.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.02125, allocations: 89.05 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.02161, allocations: 292.2 kB / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.02164, allocations: 25.7 kB / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.02184, allocations: 248 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.0219, allocations: 63.47 kB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.022, allocations: 57.98 kB / 278.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.0222, allocations: 342.8 kB / 279.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.02237, allocations: 68.61 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.02266, allocations: 202.4 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.02315, allocations: 292.8 kB / 279.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02315, allocations: 0 / 279.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006326/0.02378, allocations: 340.6 kB / 280.2 MB, free: 9.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.0238, allocations: 8 kB / 280.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.02381, allocations: 4 kB / 280.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.02383, allocations: 4 kB / 280.2 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.02414, allocations: 80.7 kB / 280.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.02415, allocations: 11.94 kB / 280.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.02436, allocations: 47.77 kB / 280.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.02438, allocations: 12 kB / 280.3 MB, free: 9.262 MB / 266.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.000176/0.02455, allocations: 157.7 kB / 280.5 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.02463, allocations: 31.81 kB / 280.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.0247, allocations: 37.73 kB / 280.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.0247, allocations: 0 / 280.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.02471, allocations: 4 kB / 280.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.02471, allocations: 0 / 280.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007627/0.02547, allocations: 418.9 kB / 281 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02547, allocations: 3.938 kB / 281 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.0257, allocations: 39.98 kB / 281 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.0257, allocations: 0 / 281 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.02572, allocations: 11.98 kB / 281 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.02572, allocations: 0 / 281 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02572, allocations: 0 / 281 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.02635, allocations: 430.3 kB / 281.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.0264, allocations: 27.84 kB / 281.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.02644, allocations: 0 / 281.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.02668, allocations: 19.98 kB / 281.5 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.02674, allocations: 15.91 kB / 281.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.02676, allocations: 8 kB / 281.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.02697, allocations: 199 kB / 281.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02697, allocations: 0 / 281.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004369/0.02741, allocations: 87.84 kB / 281.8 MB, free: 7.734 MB / 266.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.0001696/0.02758, allocations: 115.2 kB / 281.9 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.02798, allocations: 175.9 kB / 282.1 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02798, allocations: 0 / 282.1 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.02814, allocations: 71.84 kB / 282.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.02854, allocations: 33.16 kB / 282.2 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.02962, allocations: 0.593 MB / 282.8 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.02981, allocations: 164.8 kB / 282.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.02993, allocations: 38.27 kB / 283 MB, free: 6.496 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.03, allocations: 28.48 kB / 283 MB, free: 6.469 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03, allocations: 0 / 283 MB, free: 6.469 MB / 266.7 MB Notification: Performance of Templates: time 0.006669/0.03667, allocations: 2.197 MB / 285.2 MB, free: 4.309 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.471832492039539]