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.0023/0.0023, allocations: 95.61 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.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.002629/0.002629, allocations: 161.3 kB / 24.27 MB, free: 156 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.605/1.605, 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.523e-06/1.523e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.222e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.0062/0.006222, allocations: 3.878 MB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.009321, allocations: 1.577 MB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.009526, allocations: 12 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.01173, allocations: 0.8126 MB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009336/0.01266, allocations: 373.8 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.01406, allocations: 0.6535 MB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007198/0.01478, allocations: 0.5406 MB / 280.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007711/0.01555, allocations: 456 kB / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.01606, allocations: 351.2 kB / 280.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.0164, allocations: 223.4 kB / 281.2 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/0.0165, allocations: 56 kB / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.01694, allocations: 239.6 kB / 281.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.01707, allocations: 119.6 kB / 281.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.0173, allocations: 183.5 kB / 281.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.01843, allocations: 0.8448 MB / 282.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01844, allocations: 0 / 282.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01844, allocations: 0 / 282.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.01844, allocations: 0 / 282.6 MB, free: 7.512 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.02079, allocations: 1.026 MB / 283.6 MB, free: 6.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.02083, allocations: 12.03 kB / 283.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/0.02398, allocations: 0.4922 MB / 284.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.02456, allocations: 305.6 kB / 284.4 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.02461, allocations: 49.69 kB / 284.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.02472, allocations: 68.31 kB / 284.5 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.02601, allocations: 0.6954 MB / 285.2 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.02604, allocations: 4 kB / 285.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/0.0261, allocations: 24 kB / 285.3 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.02612, allocations: 16 kB / 285.3 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.02747, allocations: 0.5555 MB / 285.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.0311, allocations: 2.002 MB / 287.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.03242, allocations: 483.9 kB / 288.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.03278, allocations: 171.6 kB / 288.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.741e-05/0.03286, allocations: 19.98 kB / 288.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.0329, allocations: 41.39 kB / 288.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.573e-06/0.03291, allocations: 0 / 288.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001663/0.03457, allocations: 0.5983 MB / 289.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.03462, allocations: 55.41 kB / 289.2 MB, free: 0.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.03491, allocations: 280 kB / 289.5 MB, free: 388 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.03495, allocations: 37.7 kB / 289.5 MB, free: 344 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.0352, allocations: 323.7 kB / 289.8 MB, free: 12 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1104/0.1456, allocations: 152.2 kB / 290 MB, free: 27.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.1458, allocations: 105.9 kB / 290.1 MB, free: 27.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1459, allocations: 0.5182 MB / 290.6 MB, free: 27.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.1462, allocations: 144.9 kB / 290.7 MB, free: 27.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.1466, allocations: 292 kB / 291 MB, free: 27.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.1472, allocations: 468.2 kB / 291.5 MB, free: 26.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.1472, allocations: 1.781 kB / 291.5 MB, free: 26.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009763/0.1482, allocations: 0.5245 MB / 292 MB, free: 26.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1482, allocations: 6.562 kB / 292 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1482, allocations: 3.844 kB / 292 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.1486, allocations: 73.81 kB / 292.1 MB, free: 26.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.149, allocations: 95.33 kB / 292.2 MB, free: 26.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.1502, allocations: 2.253 MB / 294.4 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.1505, allocations: 47.12 kB / 294.5 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.1505, allocations: 21.56 kB / 294.5 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003662/0.1509, allocations: 304.5 kB / 294.8 MB, free: 24.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003079/0.1512, allocations: 286.4 kB / 295.1 MB, free: 24.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005726/0.1518, allocations: 464 kB / 295.5 MB, free: 24.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.1518, allocations: 1.062 kB / 295.5 MB, free: 24.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008587/0.1526, allocations: 0.511 MB / 296 MB, free: 23.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1526, allocations: 6.812 kB / 296 MB, free: 23.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1526, allocations: 4.219 kB / 296 MB, free: 23.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.1529, allocations: 75.47 kB / 296.1 MB, free: 23.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.1533, allocations: 97.42 kB / 296.2 MB, free: 23.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.1544, allocations: 2.248 MB / 298.5 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.1546, allocations: 40.59 kB / 298.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.1546, allocations: 20.12 kB / 298.5 MB, free: 21.71 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.0001237/0.1547, allocations: 297.7 kB / 298.8 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.1548, allocations: 46.09 kB / 298.8 MB, free: 21.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009633/0.1558, allocations: 493.6 kB / 299.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1558, allocations: 7.125 kB / 299.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1558, allocations: 7.578 kB / 299.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1558, allocations: 2.062 kB / 299.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.1572, allocations: 1.045 MB / 300.4 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1573, allocations: 2.062 kB / 300.4 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.1576, allocations: 78.86 kB / 300.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/0.1578, allocations: 68.3 kB / 300.5 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.1579, allocations: 13.19 kB / 300.6 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.1589, allocations: 2.238 MB / 302.8 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1589, allocations: 4.547 kB / 302.8 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.1601, allocations: 0.7803 MB / 303.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1602, allocations: 68.22 kB / 303.6 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1602, allocations: 10.69 kB / 303.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.1604, allocations: 16.66 kB / 303.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.1605, allocations: 32.3 kB / 303.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.1606, allocations: 14.83 kB / 303.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1607, allocations: 194.8 kB / 303.9 MB, free: 17.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1607, allocations: 0 / 303.9 MB, free: 17.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008649/0.1615, allocations: 258.5 kB / 304.2 MB, free: 17.77 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.0002168/0.1618, allocations: 144.1 kB / 304.3 MB, free: 17.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.1632, allocations: 0.9987 MB / 305.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1632, allocations: 1.375 kB / 305.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000442/0.1636, allocations: 398.5 kB / 305.7 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.164, allocations: 46.5 kB / 305.7 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1653, allocations: 0.8253 MB / 306.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.1654, allocations: 218.9 kB / 306.8 MB, free: 16.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.1657, allocations: 64.02 kB / 306.8 MB, free: 16.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.1658, allocations: 42.06 kB / 306.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1658, allocations: 0 / 306.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of Templates: time 0.009243/0.175, allocations: 4.557 MB / 311.4 MB, free: 14.61 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] 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.618579269037582]