Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001866/0.001866, allocations: 99.53 kB / 21.73 MB, free: 2.684 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.001947/0.001947, allocations: 163.2 kB / 25.03 MB, free: 7.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.033e-05, allocations: 6.312 kB / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.006785/0.006815, allocations: 3.996 MB / 254.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.01045, allocations: 1.589 MB / 255.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.01071, allocations: 12 kB / 256 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.01295, allocations: 0.8202 MB / 256.8 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.01425, allocations: 433.7 kB / 257.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.01576, allocations: 0.6499 MB / 257.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008478/0.0166, allocations: 0.6067 MB / 258.5 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008568/0.01746, allocations: 472 kB / 258.9 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000578/0.01804, allocations: 379 kB / 259.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.01846, allocations: 255.3 kB / 259.5 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.01857, allocations: 56 kB / 259.6 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.01908, allocations: 239.6 kB / 259.8 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.01923, allocations: 139.5 kB / 260 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.01951, allocations: 199.4 kB / 260.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.02073, allocations: 0.8682 MB / 261 MB, free: 9.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.02073, allocations: 0 / 261 MB, free: 9.211 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02073, allocations: 4 kB / 261 MB, free: 9.207 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.02074, allocations: 0 / 261 MB, free: 9.207 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002606/0.02335, allocations: 1.089 MB / 262.1 MB, free: 8.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.02339, allocations: 11.98 kB / 262.1 MB, free: 8.066 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.0279, allocations: 0.7613 MB / 262.9 MB, free: 7.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.02862, allocations: 337.5 kB / 263.2 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.02868, allocations: 50.38 kB / 263.3 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.02881, allocations: 72.38 kB / 263.3 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.03034, allocations: 0.8072 MB / 264.2 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.03037, allocations: 4.141 kB / 264.2 MB, free: 5.992 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/0.03044, allocations: 27.94 kB / 264.2 MB, free: 5.965 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.03047, allocations: 20 kB / 264.2 MB, free: 5.945 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.0319, allocations: 0.6793 MB / 264.9 MB, free: 5.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004284/0.03619, allocations: 2.23 MB / 267.1 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.03779, allocations: 0.5584 MB / 267.7 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.03817, allocations: 185.1 kB / 267.9 MB, free: 2.188 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.194e-05/0.03826, allocations: 24.48 kB / 267.9 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.0383, allocations: 37.83 kB / 267.9 MB, free: 2.117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.994e-06/0.0383, allocations: 0 / 267.9 MB, free: 2.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.00172/0.04002, allocations: 0.6253 MB / 268.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.04007, allocations: 55.91 kB / 268.6 MB, free: 1.414 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.04045, allocations: 336.1 kB / 268.9 MB, free: 1.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.04049, allocations: 37.7 kB / 269 MB, free: 1.027 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.04091, allocations: 367.3 kB / 269.3 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.04108, allocations: 178.5 kB / 269.5 MB, free: 500 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.0413, allocations: 127.9 kB / 269.6 MB, free: 364 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003368/0.04164, allocations: 0.5313 MB / 270.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.042, allocations: 162.2 kB / 270.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.04261, allocations: 418.8 kB / 270.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.04363, allocations: 0.603 MB / 271.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.04364, allocations: 7.938 kB / 271.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001314/0.04495, allocations: 0.6297 MB / 272 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.04497, allocations: 8 kB / 272 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.04499, allocations: 8 kB / 272 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.04538, allocations: 75.95 kB / 272 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.04591, allocations: 131.8 kB / 272.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.04825, allocations: 2.258 MB / 274.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.04861, allocations: 63.56 kB / 274.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.04867, allocations: 31.98 kB / 274.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005352/0.0492, allocations: 328.2 kB / 274.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005898/0.04979, allocations: 418.8 kB / 275.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009582/0.05075, allocations: 0.6069 MB / 275.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.05075, allocations: 0 / 275.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.00134/0.05209, allocations: 0.6254 MB / 276.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.05211, allocations: 8 kB / 276.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.05212, allocations: 4 kB / 276.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.05241, allocations: 84.27 kB / 276.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.05289, allocations: 123.8 kB / 276.7 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.05503, allocations: 2.254 MB / 279 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.05536, allocations: 51.62 kB / 279 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.05541, allocations: 31.98 kB / 279 MB, free: 6.207 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (69): * Single equations (assignments): 68 * 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.0002712/0.05568, allocations: 300 kB / 279.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.05579, allocations: 51.75 kB / 279.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.05699, allocations: 0.5012 MB / 279.9 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.057, allocations: 8 kB / 279.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.057, allocations: 3.938 kB / 279.9 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.05701, allocations: 7.922 kB / 279.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.05905, allocations: 1.111 MB / 281 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.05905, allocations: 0 / 281 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.05945, allocations: 83.89 kB / 281.1 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/0.05972, allocations: 67.58 kB / 281.2 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.05976, allocations: 12 kB / 281.2 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.06209, allocations: 2.258 MB / 283.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.06209, allocations: 0 / 283.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.06358, allocations: 0.8101 MB / 284.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.06373, allocations: 71.7 kB / 284.3 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.06378, allocations: 12 kB / 284.3 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.06403, allocations: 16 kB / 284.3 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.06414, allocations: 36.42 kB / 284.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.06417, allocations: 12 kB / 284.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.0644, allocations: 217.1 kB / 284.6 MB, free: 440 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0644, allocations: 0 / 284.6 MB, free: 440 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001099/0.06549, allocations: 287.1 kB / 284.9 MB, free: 152 kB / 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 (46): * Single equations (assignments): 45 * 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.0002879/0.06578, allocations: 131.1 kB / 285 MB, free: 8 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.06786, allocations: 1.106 MB / 286.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.06787, allocations: 0 / 286.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.0685, allocations: 417.1 kB / 286.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.06893, allocations: 44.36 kB / 286.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.07107, allocations: 0.9439 MB / 287.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.07136, allocations: 238.2 kB / 287.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003498/0.07171, allocations: 83.22 kB / 287.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.07184, allocations: 40.48 kB / 287.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.07184, allocations: 0 / 287.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of Templates: time 0.0127/0.08453, allocations: 4.727 MB / 292.6 MB, free: 8.336 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.497873773099855]