Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.002372/0.002372, allocations: 99.86 kB / 20.96 MB, free: 3.457 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.002513/0.002513, allocations: 145.1 kB / 24.26 MB, free: 168 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.524/1.524, allocations: 173.3 MB / 200.8 MB, free: 9.285 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.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.43e-05/3.586e-05, allocations: 6.25 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.006183/0.006219, allocations: 3.874 MB / 271.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.009478, allocations: 1.518 MB / 272.7 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.009714, allocations: 12 kB / 272.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.01186, allocations: 0.8125 MB / 273.5 MB, free: 476 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.01324, allocations: 0.5167 MB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.01446, allocations: 0.5176 MB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007968/0.01525, allocations: 0.5601 MB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008403/0.01609, allocations: 452.1 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.01662, allocations: 347.2 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.01701, allocations: 219.4 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.301e-05/0.01711, allocations: 52 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005293/0.01764, allocations: 231.6 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.01782, allocations: 131.5 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.01804, allocations: 179.5 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.0192, allocations: 0.8293 MB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.01921, allocations: 0 / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01921, allocations: 4 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.01922, allocations: 0 / 277.5 MB, free: 12.45 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.002343/0.02156, allocations: 1.014 MB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.0216, allocations: 12.92 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/0.0246, allocations: 0.5156 MB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.02518, allocations: 304.6 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.02524, allocations: 49.67 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.02534, allocations: 60.38 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.02672, allocations: 0.7031 MB / 280.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.02674, allocations: 8 kB / 280.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.0268, allocations: 20 kB / 280.2 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.02682, allocations: 16 kB / 280.2 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.02798, allocations: 0.5439 MB / 280.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.03157, allocations: 1.998 MB / 282.8 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.03288, allocations: 474.6 kB / 283.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.03323, allocations: 174.9 kB / 283.4 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.5e-05/0.03331, allocations: 19.98 kB / 283.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.03334, allocations: 41.39 kB / 283.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.713e-06/0.03335, allocations: 0 / 283.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001667/0.03501, allocations: 0.5866 MB / 284 MB, free: 5.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.03506, allocations: 55.41 kB / 284.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.03537, allocations: 297.4 kB / 284.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.0354, allocations: 29.7 kB / 284.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.03565, allocations: 319.4 kB / 284.7 MB, free: 4.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.03581, allocations: 162.9 kB / 284.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.03599, allocations: 103.8 kB / 285 MB, free: 4.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.03628, allocations: 0.5196 MB / 285.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.03661, allocations: 145.6 kB / 285.7 MB, free: 4.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.03708, allocations: 296.9 kB / 285.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/0.03793, allocations: 461.3 kB / 286.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.03793, allocations: 4 kB / 286.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001102/0.03903, allocations: 0.5206 MB / 286.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.03905, allocations: 4 kB / 286.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.03906, allocations: 4 kB / 286.9 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/0.0395, allocations: 76.02 kB / 287 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.03992, allocations: 95.83 kB / 287.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.04207, allocations: 2.246 MB / 289.3 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.04236, allocations: 55.7 kB / 289.4 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.04241, allocations: 20.12 kB / 289.4 MB, free: 4 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1074/0.1498, allocations: 298.8 kB / 289.7 MB, free: 31.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003347/0.1502, allocations: 288.9 kB / 290 MB, free: 31.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005815/0.1507, allocations: 450 kB / 290.4 MB, free: 30.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/0.1508, allocations: 2.125 kB / 290.4 MB, free: 30.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00095/0.1517, allocations: 0.5086 MB / 290.9 MB, free: 30.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1517, allocations: 10.91 kB / 290.9 MB, free: 30.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1517, allocations: 3.344 kB / 290.9 MB, free: 30.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/0.152, allocations: 74.39 kB / 291 MB, free: 30.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.1524, allocations: 97.38 kB / 291.1 MB, free: 30.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.1537, allocations: 2.25 MB / 293.4 MB, free: 28.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.154, allocations: 43.78 kB / 293.4 MB, free: 28.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.154, allocations: 21.89 kB / 293.4 MB, free: 28.91 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.0001444/0.1542, allocations: 297.1 kB / 293.7 MB, free: 28.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.1543, allocations: 43.95 kB / 293.8 MB, free: 28.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.1553, allocations: 491.8 kB / 294.2 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1553, allocations: 5.531 kB / 294.3 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1553, allocations: 2.75 kB / 294.3 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1553, allocations: 6.594 kB / 294.3 MB, free: 28.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.1568, allocations: 1.052 MB / 295.3 MB, free: 27.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1568, allocations: 0.7969 kB / 295.3 MB, free: 27.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.1571, allocations: 73.22 kB / 295.4 MB, free: 27.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002585/0.1574, allocations: 75.39 kB / 295.5 MB, free: 27.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.1574, allocations: 12.58 kB / 295.5 MB, free: 27.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.1586, allocations: 2.247 MB / 297.7 MB, free: 25.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1586, allocations: 0.8438 kB / 297.7 MB, free: 25.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.1597, allocations: 0.7727 MB / 298.5 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1599, allocations: 62.67 kB / 298.6 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.1599, allocations: 11.72 kB / 298.6 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.1601, allocations: 16.88 kB / 298.6 MB, free: 25.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.1603, allocations: 37.2 kB / 298.6 MB, free: 25.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.1603, allocations: 11.72 kB / 298.6 MB, free: 25.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1604, allocations: 193.9 kB / 298.8 MB, free: 25.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1604, allocations: 0 / 298.8 MB, free: 25.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009175/0.1613, allocations: 254.9 kB / 299.1 MB, free: 25.12 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.0002307/0.1616, allocations: 140 kB / 299.2 MB, free: 25.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.1631, allocations: 1.007 MB / 300.2 MB, free: 24.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1631, allocations: 0 / 300.2 MB, free: 24.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.1636, allocations: 395.1 kB / 300.6 MB, free: 24.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.164, allocations: 37.97 kB / 300.6 MB, free: 24.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1654, allocations: 0.8344 MB / 301.5 MB, free: 23.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1656, allocations: 218.9 kB / 301.7 MB, free: 23.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.1659, allocations: 68.58 kB / 301.7 MB, free: 23.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.166, allocations: 34.25 kB / 301.8 MB, free: 23.59 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.166, allocations: 0 / 301.8 MB, free: 23.59 MB / 266.7 MB Notification: Performance of Templates: time 0.01019/0.1762, allocations: 4.473 MB / 306.3 MB, free: 22.66 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.688441600999795]