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.001092/0.001092, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.00132/0.00132, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.319/1.319, allocations: 205.1 MB / 225.2 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.001118/0.001118, allocations: 43.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07982/0.08095, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005004/0.08599, allocations: 4.094 MB / 379.9 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1643/0.2503, allocations: 1.637 MB / 381.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.2506, allocations: 14.23 kB / 381.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.2522, allocations: 0.7729 MB / 382.3 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.2533, allocations: 0.5799 MB / 382.9 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.2543, allocations: 0.5444 MB / 383.5 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007296/0.255, allocations: 0.5941 MB / 384 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007002/0.2557, allocations: 0.498 MB / 384.5 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.2561, allocations: 268.9 kB / 384.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.2564, allocations: 325.4 kB / 385.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.221e-05/0.2565, allocations: 55.59 kB / 385.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.257, allocations: 243 kB / 385.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.2571, allocations: 138.2 kB / 385.6 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.2573, allocations: 302.1 kB / 385.8 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009214/0.2582, allocations: 0.845 MB / 386.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2582, allocations: 0.5625 kB / 386.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2582, allocations: 0 / 386.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2583, allocations: 5.469 kB / 386.7 MB, free: 8.332 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.002085/0.2603, allocations: 1.002 MB / 387.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2604, allocations: 9.688 kB / 387.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004352/0.2648, allocations: 0.6088 MB / 388.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.2654, allocations: 382.9 kB / 388.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.2655, allocations: 53.48 kB / 388.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.2656, allocations: 68.94 kB / 388.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.2669, allocations: 0.7388 MB / 389.6 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.2669, allocations: 1.156 kB / 389.6 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.267, allocations: 33.56 kB / 389.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.267, allocations: 16.8 kB / 389.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.2683, allocations: 0.7136 MB / 390.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.2716, allocations: 2.517 MB / 392.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.2732, allocations: 1.957 MB / 394.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.2736, allocations: 220.9 kB / 395 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.55e-05/0.2737, allocations: 88.39 kB / 395.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.2737, allocations: 38.62 kB / 395.1 MB, free: 2.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.625e-06/0.2737, allocations: 3.938 kB / 395.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001637/0.2754, allocations: 0.713 MB / 395.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.2754, allocations: 61.94 kB / 395.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.2758, allocations: 312.1 kB / 396.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.2758, allocations: 31.77 kB / 396.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.2759, allocations: 292.8 kB / 396.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.276, allocations: 163.3 kB / 396.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.2762, allocations: 108.8 kB / 396.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.2763, allocations: 346.5 kB / 397.1 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.2766, allocations: 178.3 kB / 397.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.2771, allocations: 341.1 kB / 397.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008055/0.2779, allocations: 0.5471 MB / 398.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2779, allocations: 2 kB / 398.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001145/0.2791, allocations: 0.6188 MB / 398.8 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2791, allocations: 8.141 kB / 398.8 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2791, allocations: 10.25 kB / 398.8 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.2794, allocations: 57.09 kB / 398.9 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.2799, allocations: 137 kB / 399 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.2815, allocations: 1.771 MB / 400.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.2819, allocations: 69.36 kB / 400.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.2819, allocations: 33.02 kB / 400.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004897/0.2824, allocations: 294.1 kB / 401.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004613/0.2829, allocations: 341.1 kB / 401.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009323/0.2839, allocations: 0.5354 MB / 402 MB, free: 13.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/0.2839, allocations: 1.375 kB / 402 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001084/0.285, allocations: 0.6099 MB / 402.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.285, allocations: 8.25 kB / 402.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.285, allocations: 6.438 kB / 402.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.2852, allocations: 62.19 kB / 402.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.2857, allocations: 131.5 kB / 402.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.2871, allocations: 1.771 MB / 404.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.2875, allocations: 46.53 kB / 404.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.2876, allocations: 31.98 kB / 404.7 MB, free: 11.77 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.0001948/0.2878, allocations: 220.9 kB / 404.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.2878, allocations: 43.41 kB / 405 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.289, allocations: 0.5228 MB / 405.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.289, allocations: 9.281 kB / 405.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.289, allocations: 1.469 kB / 405.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2891, allocations: 6.328 kB / 405.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.2909, allocations: 1.154 MB / 406.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2909, allocations: 1.062 kB / 406.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.2913, allocations: 84 kB / 406.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.2915, allocations: 48.05 kB / 406.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.2915, allocations: 16.77 kB / 406.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.293, allocations: 1.752 MB / 408.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.293, allocations: 5.25 kB / 408.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.2944, allocations: 0.7762 MB / 409.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.2946, allocations: 153.3 kB / 409.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.2946, allocations: 6.953 kB / 409.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.2949, allocations: 29.55 kB / 409.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.295, allocations: 36.44 kB / 409.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.2951, allocations: 15.73 kB / 409.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.2953, allocations: 214 kB / 409.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2953, allocations: 0 / 409.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001065/0.2964, allocations: 266.9 kB / 410 MB, free: 8.141 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.000267/0.2967, allocations: 136.6 kB / 410.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.2986, allocations: 0.9821 MB / 411.2 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2986, allocations: 3.938 kB / 411.2 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.2991, allocations: 354.8 kB / 411.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.2996, allocations: 55 kB / 411.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.3013, allocations: 0.9873 MB / 412.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.3017, allocations: 0.8464 MB / 413.4 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3019, allocations: 48.02 kB / 413.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3019, allocations: 1.375 kB / 413.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of Templates: time 0.01034/0.3122, allocations: 8.044 MB / 421.5 MB, free: 52 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/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