Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9902/0.9902, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.968e-05, allocations: 2.312 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003907/0.003927, allocations: 3.934 MB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.005954, allocations: 1.581 MB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.006144, allocations: 15.94 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.007236, allocations: 0.8126 MB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005997/0.007836, allocations: 377.9 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.008562, allocations: 0.6577 MB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.009019, allocations: 0.5368 MB / 280.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005095/0.009528, allocations: 452.1 kB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.009854, allocations: 359.1 kB / 281.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.01007, allocations: 219.4 kB / 281.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/0.01012, allocations: 55.94 kB / 281.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.01043, allocations: 243.6 kB / 282.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.0105, allocations: 123.5 kB / 282.2 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.01063, allocations: 183.5 kB / 282.4 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006936/0.01132, allocations: 0.5761 MB / 283 MB, free: 7.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.01133, allocations: 4 kB / 283 MB, free: 7.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01133, allocations: 0 / 283 MB, free: 7.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.01133, allocations: 3.938 kB / 283 MB, free: 7.332 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.001276/0.01261, allocations: 0.9988 MB / 284 MB, free: 6.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.01264, allocations: 15.98 kB / 284 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.01415, allocations: 0.5 MB / 284.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.01451, allocations: 301.7 kB / 284.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.01454, allocations: 41.69 kB / 284.8 MB, free: 5.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.029e-05/0.01461, allocations: 60.38 kB / 284.9 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.01526, allocations: 0.5593 MB / 285.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.01527, allocations: 0 / 285.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.01531, allocations: 28 kB / 285.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.01533, allocations: 16 kB / 285.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.01578, allocations: 335.6 kB / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.01759, allocations: 1.774 MB / 287.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/0.01824, allocations: 447.9 kB / 288 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.01838, allocations: 111.6 kB / 288.2 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.01843, allocations: 23.97 kB / 288.2 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.01845, allocations: 37.39 kB / 288.2 MB, free: 1.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.603e-06/0.01846, allocations: 0 / 288.2 MB, free: 1.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007495/0.0192, allocations: 441.9 kB / 288.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.01923, allocations: 67.34 kB / 288.7 MB, free: 1.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.01937, allocations: 251.1 kB / 289 MB, free: 1.102 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.01939, allocations: 33.7 kB / 289 MB, free: 1.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01951, allocations: 311.4 kB / 289.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.01958, allocations: 159 kB / 289.4 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.01968, allocations: 95.73 kB / 289.5 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.126/0.1456, allocations: 0.5079 MB / 290 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.1459, allocations: 87.69 kB / 290.1 MB, free: 20.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.1462, allocations: 220.5 kB / 290.4 MB, free: 20.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.1466, allocations: 334.6 kB / 290.7 MB, free: 20.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1466, allocations: 1.906 kB / 290.7 MB, free: 20.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006985/0.1473, allocations: 411.5 kB / 291.1 MB, free: 20.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1473, allocations: 8.938 kB / 291.1 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1473, allocations: 2.469 kB / 291.1 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.1476, allocations: 64.27 kB / 291.2 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.1479, allocations: 95.7 kB / 291.2 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.1489, allocations: 2.137 MB / 293.4 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.1491, allocations: 42.22 kB / 293.4 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.1491, allocations: 21.45 kB / 293.4 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002115/0.1493, allocations: 208.9 kB / 293.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001826/0.1495, allocations: 227 kB / 293.9 MB, free: 18.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003273/0.1498, allocations: 339.6 kB / 294.2 MB, free: 17.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.1498, allocations: 1.188 kB / 294.2 MB, free: 17.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005527/0.1504, allocations: 403.9 kB / 294.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1504, allocations: 8.219 kB / 294.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1504, allocations: 5.688 kB / 294.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.1506, allocations: 64.56 kB / 294.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.1508, allocations: 98.33 kB / 294.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009984/0.1518, allocations: 2.136 MB / 296.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.1519, allocations: 42.06 kB / 297 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.152, allocations: 20.98 kB / 297 MB, free: 15.84 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.0001437/0.1521, allocations: 297 kB / 297.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.1522, allocations: 43.67 kB / 297.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006215/0.1528, allocations: 387.5 kB / 297.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1528, allocations: 9.188 kB / 297.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1528, allocations: 2.328 kB / 297.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1528, allocations: 2.672 kB / 297.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009539/0.1538, allocations: 0.851 MB / 298.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1538, allocations: 1.25 kB / 298.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.154, allocations: 75.17 kB / 298.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.1541, allocations: 66.14 kB / 298.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.1542, allocations: 11.53 kB / 298.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008107/0.155, allocations: 2.139 MB / 300.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.155, allocations: 3.938 kB / 300.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.1557, allocations: 0.5766 MB / 301.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.1558, allocations: 57.81 kB / 301.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1558, allocations: 8.312 kB / 301.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.156, allocations: 22.22 kB / 301.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.1561, allocations: 31.75 kB / 301.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1561, allocations: 14.97 kB / 301.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.008e-05/0.1562, allocations: 172.7 kB / 301.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1562, allocations: 0 / 301.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006349/0.1568, allocations: 259 kB / 302 MB, free: 12.8 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.0002025/0.157, allocations: 146.9 kB / 302.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000882/0.1579, allocations: 0.8104 MB / 302.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1579, allocations: 3.188 kB / 302.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.1581, allocations: 333.8 kB / 303.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1584, allocations: 48.61 kB / 303.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1596, allocations: 0.7899 MB / 304.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.508e-05/0.1597, allocations: 115.2 kB / 304.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.1599, allocations: 66.91 kB / 304.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.1599, allocations: 37.25 kB / 304.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1599, allocations: 0 / 304.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Templates: time 0.007137/0.1671, allocations: 4.555 MB / 308.9 MB, free: 11.07 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.935058429837227]