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.00149/0.00149, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001711/0.001711, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.336/1.336, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001414/0.001414, allocations: 47.94 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09691, allocations: 46.62 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005769/0.1027, allocations: 4.089 MB / 379.2 MB, free: 460 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2257/0.3285, allocations: 1.638 MB / 380.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.3288, allocations: 13.44 kB / 380.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.3305, allocations: 0.7767 MB / 381.7 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.3317, allocations: 0.5807 MB / 382.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.3328, allocations: 0.5487 MB / 382.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008068/0.3336, allocations: 0.5997 MB / 383.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/0.3344, allocations: 0.4966 MB / 383.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.3347, allocations: 261 kB / 384.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.3351, allocations: 329.7 kB / 384.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.673e-05/0.3352, allocations: 56.38 kB / 384.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.3357, allocations: 242.5 kB / 384.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.3358, allocations: 138.5 kB / 384.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.336, allocations: 292 kB / 385.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.337, allocations: 0.848 MB / 386 MB, free: 8.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3371, allocations: 0 / 386 MB, free: 8.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3371, allocations: 5.031 kB / 386 MB, free: 8.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.3371, allocations: 0.9844 kB / 386 MB, free: 8.309 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.002068/0.3392, allocations: 1.007 MB / 387 MB, free: 7.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3392, allocations: 13.53 kB / 387 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/0.3435, allocations: 0.604 MB / 387.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.3441, allocations: 389.5 kB / 388 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.3442, allocations: 50.31 kB / 388.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.3443, allocations: 64.55 kB / 388.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.3456, allocations: 0.7386 MB / 388.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.3457, allocations: 5.266 kB / 388.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/0.3457, allocations: 26.02 kB / 388.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.3458, allocations: 16.5 kB / 388.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.3471, allocations: 0.7209 MB / 389.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.3504, allocations: 2.517 MB / 392.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.3522, allocations: 1.956 MB / 394.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.3526, allocations: 221.1 kB / 394.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/0.3527, allocations: 91.83 kB / 394.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3527, allocations: 37.72 kB / 394.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.625e-06/0.3527, allocations: 0 / 394.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001652/0.3544, allocations: 0.7135 MB / 395.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.3544, allocations: 60.84 kB / 395.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.3547, allocations: 308.3 kB / 395.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.3548, allocations: 35.73 kB / 395.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3549, allocations: 286.9 kB / 395.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.9e-05/0.355, allocations: 169 kB / 396 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.3552, allocations: 109.2 kB / 396.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.3553, allocations: 350.2 kB / 396.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.3556, allocations: 169.4 kB / 396.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.3561, allocations: 345.9 kB / 397 MB, free: 1.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.3569, allocations: 0.5447 MB / 397.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.3569, allocations: 5.344 kB / 397.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001146/0.358, allocations: 0.6145 MB / 398.1 MB, free: 376 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3581, allocations: 12.77 kB / 398.1 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3581, allocations: 5.281 kB / 398.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.3584, allocations: 59.48 kB / 398.2 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.3588, allocations: 131.9 kB / 398.3 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.3604, allocations: 1.771 MB / 400.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.3609, allocations: 76.77 kB / 400.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.3609, allocations: 28.08 kB / 400.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004729/0.3614, allocations: 295.2 kB / 400.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004431/0.3618, allocations: 342.3 kB / 400.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008088/0.3627, allocations: 0.5312 MB / 401.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.367e-06/0.3627, allocations: 1.031 kB / 401.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001138/0.3638, allocations: 0.6129 MB / 402 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3638, allocations: 8.953 kB / 402 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3639, allocations: 7.766 kB / 402 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.364, allocations: 62.36 kB / 402.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.3645, allocations: 132.1 kB / 402.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.3661, allocations: 1.773 MB / 404 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.3664, allocations: 47.69 kB / 404 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.3665, allocations: 30.45 kB / 404 MB, free: 11.73 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.000211/0.3667, allocations: 222.2 kB / 404.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.3668, allocations: 37.7 kB / 404.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.368, allocations: 0.5236 MB / 404.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.368, allocations: 4.344 kB / 404.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.368, allocations: 1.812 kB / 404.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.368, allocations: 3.359 kB / 404.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.3699, allocations: 1.154 MB / 406 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3699, allocations: 2.203 kB / 406 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.3703, allocations: 87.58 kB / 406.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.3705, allocations: 48.78 kB / 406.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.3705, allocations: 20.53 kB / 406.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.372, allocations: 1.758 MB / 407.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.372, allocations: 0 / 407.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.3735, allocations: 0.7793 MB / 408.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.3737, allocations: 150.4 kB / 408.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.3737, allocations: 6.219 kB / 408.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.374, allocations: 25.98 kB / 408.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.3741, allocations: 32.28 kB / 408.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.3741, allocations: 16.14 kB / 408.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.3744, allocations: 211.7 kB / 409.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3744, allocations: 0 / 409.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001049/0.3755, allocations: 272.6 kB / 409.4 MB, free: 8.117 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.000234/0.3757, allocations: 140.2 kB / 409.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3776, allocations: 0.9817 MB / 410.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3776, allocations: 1.438 kB / 410.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005611/0.3782, allocations: 358 kB / 410.8 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.3787, allocations: 48.45 kB / 410.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3804, allocations: 0.9737 MB / 411.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.3808, allocations: 0.8463 MB / 412.7 MB, free: 5.914 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003568/0.3812, allocations: 87.19 kB / 412.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3813, allocations: 43.3 kB / 412.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3813, allocations: 0 / 412.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of Templates: time 0.01002/0.3914, allocations: 5.191 MB / 418 MB, free: 2.836 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