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.001307/0.001307, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001379/0.001379, allocations: 140.3 kB / 24.89 MB, free: 9.207 MB / 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 0.8939/0.8939, allocations: 173.3 MB / 201.5 MB, free: 9.16 MB / 186.7 MB " [Timeout remaining time 179] 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.303e-06/1.303e-06, allocations: 0 / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.517e-05, allocations: 2.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003435/0.00345, allocations: 3.835 MB / 272.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.005798, allocations: 1.58 MB / 273.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.00599, allocations: 12 kB / 273.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000986/0.006976, allocations: 0.8047 MB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007163/0.007692, allocations: 0.5322 MB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.008302, allocations: 0.5284 MB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.008752, allocations: 0.552 MB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004734/0.009226, allocations: 474.1 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.009522, allocations: 359.1 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.009713, allocations: 223.4 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.009758, allocations: 48 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.01006, allocations: 219.8 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.01012, allocations: 127.5 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.01023, allocations: 175.5 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.01073, allocations: 0.5682 MB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.01073, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01073, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.01074, allocations: 4 kB / 278.5 MB, free: 12.11 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.001116/0.01185, allocations: 0.8819 MB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.602e-05/0.01188, allocations: 8.922 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.0133, allocations: 0.5626 MB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.01356, allocations: 213.6 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.01358, allocations: 41.69 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.01364, allocations: 60.38 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.01403, allocations: 417.1 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.01404, allocations: 0 / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.01408, allocations: 28 kB / 280.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.01409, allocations: 16 kB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.01458, allocations: 226.3 kB / 280.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.01606, allocations: 1.469 MB / 282.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.01653, allocations: 375.3 kB / 282.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.01661, allocations: 76.83 kB / 282.8 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.01666, allocations: 23.98 kB / 282.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.01668, allocations: 30.56 kB / 282.9 MB, free: 7.535 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.362e-06/0.01668, allocations: 0 / 282.9 MB, free: 7.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0004931/0.01717, allocations: 334.1 kB / 283.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.0172, allocations: 59.34 kB / 283.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.01729, allocations: 186.3 kB / 283.4 MB, free: 6.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.01731, allocations: 37.64 kB / 283.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.0174, allocations: 252.7 kB / 283.7 MB, free: 6.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.01747, allocations: 154.6 kB / 283.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.01755, allocations: 86.14 kB / 283.9 MB, free: 6.391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.01762, allocations: 338.8 kB / 284.3 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.01769, allocations: 54.84 kB / 284.3 MB, free: 5.996 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.0178, allocations: 161.2 kB / 284.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.01799, allocations: 257.7 kB / 284.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01799, allocations: 0 / 284.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002943/0.01829, allocations: 287 kB / 285 MB, free: 5.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.0183, allocations: 15.03 kB / 285 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.01831, allocations: 4 kB / 285 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.01847, allocations: 56.75 kB / 285.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.01866, allocations: 87.89 kB / 285.2 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000728/0.01939, allocations: 1.445 MB / 286.6 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.01951, allocations: 47.62 kB / 286.7 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.01953, allocations: 16.12 kB / 286.7 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001108/0.01964, allocations: 141.1 kB / 286.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001014/0.01974, allocations: 164.7 kB / 287 MB, free: 3.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000191/0.01993, allocations: 255.8 kB / 287.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.01993, allocations: 4 kB / 287.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0002765/0.02021, allocations: 285.7 kB / 287.5 MB, free: 2.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.02022, allocations: 4.406 kB / 287.5 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.02022, allocations: 4 kB / 287.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/0.02033, allocations: 56.86 kB / 287.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.02051, allocations: 99.81 kB / 287.7 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008753/0.02138, allocations: 1.437 MB / 289.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.02149, allocations: 35.78 kB / 289.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.02151, allocations: 15.98 kB / 289.2 MB, free: 0.7891 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 8.773e-05/0.0216, allocations: 212.1 kB / 289.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.02164, allocations: 35.91 kB / 289.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.02194, allocations: 286.9 kB / 289.7 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02195, allocations: 4 kB / 289.7 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.02195, allocations: 11.94 kB / 289.7 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.02195, allocations: 0 / 289.7 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09784/0.1198, allocations: 0.5499 MB / 290.3 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1198, allocations: 0.5469 kB / 290.3 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.12, allocations: 74.08 kB / 290.3 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.1202, allocations: 56.61 kB / 290.4 MB, free: 24.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1202, allocations: 9.5 kB / 290.4 MB, free: 24.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007068/0.1209, allocations: 1.442 MB / 291.8 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1209, allocations: 1.312 kB / 291.8 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.1213, allocations: 411 kB / 292.2 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.1214, allocations: 44.3 kB / 292.3 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1215, allocations: 8.812 kB / 292.3 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1216, allocations: 19.5 kB / 292.3 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.1216, allocations: 31.58 kB / 292.3 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1216, allocations: 10.47 kB / 292.4 MB, free: 23.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.173e-05/0.1217, allocations: 53.38 kB / 292.4 MB, free: 23.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1217, allocations: 0 / 292.4 MB, free: 23.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005679/0.1223, allocations: 255.9 kB / 292.7 MB, free: 23.14 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.0001708/0.1224, allocations: 116.9 kB / 292.8 MB, free: 23.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.1231, allocations: 0.6223 MB / 293.4 MB, free: 22.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.1231, allocations: 2.375 kB / 293.4 MB, free: 22.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.1232, allocations: 254.7 kB / 293.6 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.1234, allocations: 38.27 kB / 293.7 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1245, allocations: 0.7797 MB / 294.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.577e-05/0.1246, allocations: 114.6 kB / 294.6 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.1248, allocations: 64.83 kB / 294.6 MB, free: 22.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.1249, allocations: 100.1 kB / 294.7 MB, free: 22.19 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1249, allocations: 1.125 kB / 294.7 MB, free: 22.19 MB / 266.7 MB Notification: Performance of Templates: time 0.008266/0.1332, allocations: 4.911 MB / 299.6 MB, free: 21.75 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","",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.5851262100040913]