Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.001962/0.001962, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002403/0.002403, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 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.461/1.461, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005946/0.005976, allocations: 3.658 MB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.009643, allocations: 1.538 MB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.009927, allocations: 8 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.01202, allocations: 0.7619 MB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.01315, allocations: 365.8 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.01466, allocations: 0.6443 MB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008715/0.01553, allocations: 0.5484 MB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008209/0.01635, allocations: 456 kB / 280.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005553/0.01691, allocations: 351.3 kB / 280.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.01727, allocations: 215.4 kB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.498e-05/0.01735, allocations: 55.94 kB / 280.9 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005473/0.0179, allocations: 243.7 kB / 281.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.01802, allocations: 115.6 kB / 281.2 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.01827, allocations: 183.5 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.01945, allocations: 0.8448 MB / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01945, allocations: 0 / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01945, allocations: 0 / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.01946, allocations: 0 / 282.3 MB, free: 7.836 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00238/0.02184, allocations: 0.8911 MB / 283.1 MB, free: 6.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.02188, allocations: 8.031 kB / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/0.02487, allocations: 496 kB / 283.6 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008355/0.02571, allocations: 306.8 kB / 283.9 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/0.02576, allocations: 45.69 kB / 284 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.02588, allocations: 72.31 kB / 284.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.02725, allocations: 0.6781 MB / 284.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.02728, allocations: 3.984 kB / 284.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.02734, allocations: 24 kB / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.02736, allocations: 16 kB / 284.8 MB, free: 5.234 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.02867, allocations: 0.5789 MB / 285.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.03218, allocations: 1.771 MB / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.0336, allocations: 475.3 kB / 287.6 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.03402, allocations: 184.7 kB / 287.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.03412, allocations: 27.97 kB / 287.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.03416, allocations: 34.56 kB / 287.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.515e-06/0.03416, allocations: 0 / 287.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.00189/0.03605, allocations: 0.6151 MB / 288.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.0361, allocations: 59.41 kB / 288.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.03635, allocations: 192.7 kB / 288.7 MB, free: 1.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.0364, allocations: 33.7 kB / 288.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.03661, allocations: 264.7 kB / 289 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.03677, allocations: 159 kB / 289.1 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.03692, allocations: 82.19 kB / 289.2 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.03713, allocations: 334.8 kB / 289.5 MB, free: 288 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.03752, allocations: 150.8 kB / 289.7 MB, free: 132 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1061/0.1436, allocations: 256.3 kB / 289.9 MB, free: 27.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/0.1444, allocations: 433.8 kB / 290.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1444, allocations: 1.031 kB / 290.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001184/0.1456, allocations: 0.5379 MB / 290.9 MB, free: 27.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1456, allocations: 9.094 kB / 290.9 MB, free: 27.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1456, allocations: 6.438 kB / 290.9 MB, free: 27.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.1459, allocations: 67.5 kB / 291 MB, free: 27.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.1464, allocations: 101.4 kB / 291.1 MB, free: 27.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.1476, allocations: 1.632 MB / 292.7 MB, free: 26.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.1479, allocations: 47.19 kB / 292.8 MB, free: 26.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.1479, allocations: 21.14 kB / 292.8 MB, free: 26.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004175/0.1484, allocations: 274.3 kB / 293.1 MB, free: 26.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000354/0.1487, allocations: 251.8 kB / 293.3 MB, free: 26.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006262/0.1493, allocations: 422.9 kB / 293.7 MB, free: 25.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-06/0.1493, allocations: 1.094 kB / 293.7 MB, free: 25.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001036/0.1504, allocations: 0.5243 MB / 294.2 MB, free: 25.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1504, allocations: 9.812 kB / 294.2 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1504, allocations: 3.812 kB / 294.2 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.1506, allocations: 67.67 kB / 294.3 MB, free: 25.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.151, allocations: 97.34 kB / 294.4 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.1522, allocations: 1.639 MB / 296 MB, free: 24.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.1525, allocations: 46.64 kB / 296.1 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.1525, allocations: 20.86 kB / 296.1 MB, free: 24 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.1526, allocations: 200.9 kB / 296.3 MB, free: 23.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.1527, allocations: 49.39 kB / 296.4 MB, free: 23.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.1539, allocations: 0.5028 MB / 296.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1539, allocations: 4.094 kB / 296.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1539, allocations: 5.094 kB / 296.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1539, allocations: 3.516 kB / 296.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.1554, allocations: 0.9196 MB / 297.8 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1554, allocations: 0 / 297.8 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.1558, allocations: 79.72 kB / 297.9 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/0.1561, allocations: 63.98 kB / 297.9 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.1561, allocations: 13.31 kB / 297.9 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.1572, allocations: 1.626 MB / 299.6 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1572, allocations: 0 / 299.6 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.1585, allocations: 0.7629 MB / 300.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1586, allocations: 59.2 kB / 300.4 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.1586, allocations: 11.22 kB / 300.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.1589, allocations: 21.84 kB / 300.4 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.159, allocations: 32.23 kB / 300.5 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.159, allocations: 22.28 kB / 300.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.956e-05/0.1591, allocations: 139.7 kB / 300.6 MB, free: 20.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1591, allocations: 0 / 300.6 MB, free: 20.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008823/0.16, allocations: 264.1 kB / 300.9 MB, free: 20.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000213/0.1602, allocations: 139.3 kB / 301 MB, free: 20.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.1618, allocations: 0.8424 MB / 301.9 MB, free: 20.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1618, allocations: 0 / 301.9 MB, free: 20.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.1623, allocations: 321.3 kB / 302.2 MB, free: 20.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.1627, allocations: 43.69 kB / 302.2 MB, free: 20.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.164, allocations: 0.8285 MB / 303 MB, free: 19.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.1642, allocations: 218.8 kB / 303.3 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002632/0.1644, allocations: 64.39 kB / 303.3 MB, free: 19.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1645, allocations: 41.69 kB / 303.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1645, allocations: 0 / 303.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of Templates: time 0.009036/0.1736, allocations: 4.516 MB / 307.9 MB, free: 18.4 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.513198785949498]