Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001964/0.001964, allocations: 183.1 kB / 18.66 MB, free: 4.414 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.358/1.358, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001594/0.001594, allocations: 59.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1181, allocations: 46.61 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.00836/0.1265, allocations: 3.753 MB / 378.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1537/0.2803, allocations: 1.456 MB / 379.8 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.2807, allocations: 8.719 kB / 379.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.2822, allocations: 0.7569 MB / 380.6 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.2833, allocations: 0.5624 MB / 381.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.284, allocations: 425.9 kB / 381.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.2844, allocations: 494.9 kB / 382.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005963/0.285, allocations: 392.9 kB / 382.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.2853, allocations: 219.8 kB / 382.7 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.2856, allocations: 279.1 kB / 382.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.2857, allocations: 44.03 kB / 383 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.2861, allocations: 211.5 kB / 383.2 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.2862, allocations: 108.3 kB / 383.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.2864, allocations: 248.3 kB / 383.5 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.2871, allocations: 0.7087 MB / 384.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2871, allocations: 1.375 kB / 384.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2871, allocations: 0.75 kB / 384.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2871, allocations: 0 / 384.3 MB, free: 8.605 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001868/0.289, allocations: 0.9489 MB / 385.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.289, allocations: 9.812 kB / 385.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.2892, allocations: 105.8 kB / 385.3 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/0.2933, allocations: 0.5887 MB / 385.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.2937, allocations: 316 kB / 386.2 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.2938, allocations: 41.03 kB / 386.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.2938, allocations: 62.61 kB / 386.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009253/0.2948, allocations: 0.5594 MB / 386.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2948, allocations: 1.125 kB / 386.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.2949, allocations: 29.53 kB / 386.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2949, allocations: 14.81 kB / 386.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.2959, allocations: 0.6335 MB / 387.6 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.2985, allocations: 2.044 MB / 389.6 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.3005, allocations: 3.017 MB / 392.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.3008, allocations: 220.6 kB / 392.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.3009, allocations: 91.78 kB / 392.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.3009, allocations: 38.42 kB / 393 MB, free: 2.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.394e-06/0.3009, allocations: 0 / 393 MB, free: 2.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001859/0.3028, allocations: 0.8005 MB / 393.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.3028, allocations: 58.41 kB / 393.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.303, allocations: 201.3 kB / 394 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3031, allocations: 37.84 kB / 394 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.3032, allocations: 251.7 kB / 394.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.3033, allocations: 172.3 kB / 394.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3034, allocations: 98.31 kB / 394.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.3035, allocations: 338.8 kB / 394.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.3038, allocations: 158.1 kB / 395 MB, free: 1.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.3041, allocations: 273.6 kB / 395.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.3047, allocations: 465.2 kB / 395.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3047, allocations: 0 / 395.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009898/0.3057, allocations: 0.5792 MB / 396.3 MB, free: 284 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3058, allocations: 10.92 kB / 396.4 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3058, allocations: 3.25 kB / 396.4 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.3062, allocations: 99.22 kB / 396.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.3066, allocations: 104.6 kB / 396.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.3087, allocations: 2.037 MB / 398.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.3091, allocations: 59.58 kB / 398.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.3091, allocations: 22.42 kB / 398.7 MB, free: 14.38 MB / 334.1 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 (58): * Single equations (assignments): 57 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.3094, allocations: 176 kB / 398.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.3094, allocations: 25.11 kB / 398.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.3106, allocations: 0.5604 MB / 399.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3106, allocations: 7.75 kB / 399.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3106, allocations: 3.75 kB / 399.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3106, allocations: 2.766 kB / 399.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.3123, allocations: 1.139 MB / 400.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3124, allocations: 3.938 kB / 400.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.3127, allocations: 79.33 kB / 400.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.313, allocations: 91.03 kB / 400.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.313, allocations: 14.64 kB / 400.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.3151, allocations: 2.028 MB / 402.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3151, allocations: 8 kB / 402.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.3165, allocations: 0.8003 MB / 403.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3166, allocations: 116.2 kB / 403.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.3166, allocations: 11.64 kB / 403.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3169, allocations: 19.12 kB / 403.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.317, allocations: 38.48 kB / 403.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.317, allocations: 19.2 kB / 403.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.3172, allocations: 145 kB / 403.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3172, allocations: 0 / 403.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006238/0.3178, allocations: 154.7 kB / 404.1 MB, free: 10.73 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 (44): * Single equations (assignments): 43 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/0.3196, allocations: 1.385 MB / 405.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.3208, allocations: 0.5929 MB / 406.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3208, allocations: 0 / 406.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.3214, allocations: 397.4 kB / 406.5 MB, free: 9.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3217, allocations: 40.77 kB / 406.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.3269, allocations: 3.637 MB / 410.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.3274, allocations: 0.8164 MB / 411 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.3276, allocations: 56.41 kB / 411 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.3278, allocations: 143.8 kB / 411.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3278, allocations: 0 / 411.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.3623, allocations: 7.896 MB / 419 MB, free: 1.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.58, allocations: 15.88 kB / 419.1 MB, free: 1.199 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches