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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001114, allocations: 112.3 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 51.94 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1093, allocations: 46.61 MB / 375.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.009297/0.1187, allocations: 4.097 MB / 379.2 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2357/0.3544, allocations: 1.637 MB / 380.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.3548, allocations: 13.62 kB / 380.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.3565, allocations: 0.7765 MB / 381.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3577, allocations: 0.5767 MB / 382.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3588, allocations: 0.5468 MB / 382.8 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008873/0.3597, allocations: 0.6 MB / 383.4 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007723/0.3605, allocations: 0.5034 MB / 383.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.3609, allocations: 260.6 kB / 384.1 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.3612, allocations: 325 kB / 384.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.337e-05/0.3613, allocations: 56.62 kB / 384.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.3619, allocations: 245.3 kB / 384.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.362, allocations: 139.1 kB / 384.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.3622, allocations: 294.1 kB / 385.2 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3633, allocations: 0.8497 MB / 386 MB, free: 8.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3633, allocations: 0 / 386 MB, free: 8.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3633, allocations: 7.938 kB / 386 MB, free: 8.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3633, allocations: 0 / 386 MB, free: 8.586 MB / 318.1 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.002179/0.3655, allocations: 1.002 MB / 387 MB, free: 7.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3655, allocations: 9.828 kB / 387 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004561/0.3701, allocations: 0.6077 MB / 387.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.3708, allocations: 388.9 kB / 388 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.3709, allocations: 49.75 kB / 388.1 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.371, allocations: 71.97 kB / 388.1 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3724, allocations: 0.7342 MB / 388.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.3724, allocations: 0.6094 kB / 388.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/0.3725, allocations: 29.78 kB / 388.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.3725, allocations: 16.84 kB / 388.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.374, allocations: 0.718 MB / 389.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.3775, allocations: 2.515 MB / 392.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.3793, allocations: 1.958 MB / 394.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.3797, allocations: 217.7 kB / 394.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.3798, allocations: 91.27 kB / 394.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3798, allocations: 38.73 kB / 394.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/0.3798, allocations: 0 / 394.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001709/0.3815, allocations: 0.71 MB / 395.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3816, allocations: 60.39 kB / 395.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.3819, allocations: 313.5 kB / 395.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.382, allocations: 32.05 kB / 395.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3821, allocations: 287.3 kB / 395.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.3823, allocations: 166.9 kB / 396 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.3824, allocations: 109.3 kB / 396.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.3825, allocations: 350.2 kB / 396.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.3829, allocations: 174 kB / 396.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.3834, allocations: 346.1 kB / 397 MB, free: 1.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000834/0.3842, allocations: 0.5461 MB / 397.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3843, allocations: 2.406 kB / 397.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001184/0.3854, allocations: 0.6191 MB / 398.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3855, allocations: 11.89 kB / 398.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3855, allocations: 5.906 kB / 398.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.3858, allocations: 54.94 kB / 398.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.3863, allocations: 128.3 kB / 398.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.3879, allocations: 1.784 MB / 400.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.3883, allocations: 72.92 kB / 400.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.3884, allocations: 27.78 kB / 400.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005017/0.3889, allocations: 296 kB / 400.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004735/0.3894, allocations: 341.9 kB / 400.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008348/0.3902, allocations: 0.5301 MB / 401.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.3902, allocations: 1.375 kB / 401.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001129/0.3914, allocations: 0.6163 MB / 402 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3914, allocations: 7.156 kB / 402 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3914, allocations: 6.781 kB / 402 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.3916, allocations: 64.52 kB / 402.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.3921, allocations: 126 kB / 402.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.3937, allocations: 1.773 MB / 404 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.3941, allocations: 51.16 kB / 404 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.3941, allocations: 26.89 kB / 404 MB, free: 12.03 MB / 334.1 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.0001996/0.3943, allocations: 221.9 kB / 404.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.3944, allocations: 37.55 kB / 404.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3956, allocations: 0.5316 MB / 404.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3956, allocations: 6.125 kB / 404.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3957, allocations: 1.281 kB / 404.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3957, allocations: 2.578 kB / 404.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.3976, allocations: 1.148 MB / 406 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3976, allocations: 5 kB / 406 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.3981, allocations: 85.62 kB / 406.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/0.3982, allocations: 49.48 kB / 406.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.3983, allocations: 9.859 kB / 406.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.3999, allocations: 1.764 MB / 407.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3999, allocations: 0 / 407.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.4014, allocations: 0.7773 MB / 408.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.4016, allocations: 151 kB / 408.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.4017, allocations: 11.66 kB / 408.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.4019, allocations: 20.16 kB / 408.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.402, allocations: 31.91 kB / 408.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4021, allocations: 19.19 kB / 408.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.4023, allocations: 216.8 kB / 409.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4023, allocations: 0 / 409.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001112/0.4034, allocations: 269 kB / 409.4 MB, free: 8.41 MB / 334.1 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.0002437/0.4037, allocations: 140.3 kB / 409.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.4056, allocations: 0.9859 MB / 410.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4056, allocations: 1.375 kB / 410.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.4062, allocations: 355.9 kB / 410.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.4066, allocations: 52.84 kB / 410.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.4084, allocations: 0.9656 MB / 411.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.4089, allocations: 0.8425 MB / 412.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003287/0.4092, allocations: 87.56 kB / 412.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4093, allocations: 39.88 kB / 412.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4093, allocations: 0 / 412.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of Templates: time 0.01025/0.4196, allocations: 5.201 MB / 418 MB, free: 3.02 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) 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) Reference file matches