Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.001585/0.001585, allocations: 110.5 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.001712/0.001712, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.431/1.431, 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.001665/0.001665, allocations: 52.2 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09518, allocations: 46.63 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005703/0.1009, allocations: 3.746 MB / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1943/0.2953, allocations: 1.459 MB / 379.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004518/0.2958, allocations: 11.03 kB / 379.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.2976, allocations: 0.7609 MB / 380.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.2988, allocations: 0.5585 MB / 381.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.2996, allocations: 426.9 kB / 381.6 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.3001, allocations: 494.5 kB / 382.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007434/0.3008, allocations: 463.9 kB / 382.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.3012, allocations: 233.8 kB / 382.8 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.3016, allocations: 290.2 kB / 383 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.543e-05/0.3017, allocations: 46.78 kB / 383.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.3021, allocations: 212.9 kB / 383.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.119e-05/0.3022, allocations: 112.2 kB / 383.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.3024, allocations: 255.8 kB / 383.7 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008489/0.3033, allocations: 0.7242 MB / 384.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3033, allocations: 0 / 384.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3033, allocations: 0.875 kB / 384.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.3033, allocations: 0.5625 kB / 384.4 MB, free: 8.59 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.002122/0.3054, allocations: 0.9569 MB / 385.3 MB, free: 7.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3055, allocations: 9.562 kB / 385.4 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.3056, allocations: 106.2 kB / 385.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004137/0.3098, allocations: 0.5863 MB / 386 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.3103, allocations: 318.9 kB / 386.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.3103, allocations: 44.34 kB / 386.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.063e-05/0.3104, allocations: 59.11 kB / 386.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.3114, allocations: 0.5777 MB / 387 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.3115, allocations: 4.922 kB / 387 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.3115, allocations: 24.94 kB / 387.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.3115, allocations: 14.56 kB / 387.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.3127, allocations: 0.6417 MB / 387.7 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.3158, allocations: 2.058 MB / 389.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.3179, allocations: 3.011 MB / 392.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.3184, allocations: 272.2 kB / 393.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.3185, allocations: 88.45 kB / 393.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3185, allocations: 44.62 kB / 393.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.505e-06/0.3185, allocations: 0 / 393.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001675/0.3202, allocations: 0.7503 MB / 393.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.3202, allocations: 61.44 kB / 394 MB, free: 1.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.3204, allocations: 204.6 kB / 394.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3205, allocations: 35.81 kB / 394.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3206, allocations: 247.7 kB / 394.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/0.3207, allocations: 175.3 kB / 394.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.3208, allocations: 94.23 kB / 394.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.3209, allocations: 337.8 kB / 395.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.3213, allocations: 158.4 kB / 395.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.3218, allocations: 286.6 kB / 395.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000758/0.3225, allocations: 479.2 kB / 396 MB, free: 424 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.3225, allocations: 2.062 kB / 396 MB, free: 424 kB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001193/0.3237, allocations: 0.5903 MB / 396.6 MB, free: 156 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3238, allocations: 6.906 kB / 396.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.3238, allocations: 3.406 kB / 396.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.3242, allocations: 83.02 kB / 396.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.3246, allocations: 112.4 kB / 396.8 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.327, allocations: 1.783 MB / 398.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.3273, allocations: 55.06 kB / 398.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.3274, allocations: 19.64 kB / 398.6 MB, free: 14.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.3277, allocations: 180.2 kB / 398.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3278, allocations: 25.61 kB / 398.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.3291, allocations: 0.5543 MB / 399.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.3292, allocations: 5.188 kB / 399.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3292, allocations: 1.438 kB / 399.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3292, allocations: 4.531 kB / 399.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.3313, allocations: 1.177 MB / 400.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3313, allocations: 1.031 kB / 400.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.3317, allocations: 76.91 kB / 400.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003303/0.332, allocations: 89.14 kB / 400.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.3321, allocations: 12.84 kB / 400.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.3342, allocations: 1.774 MB / 402.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3342, allocations: 0 / 402.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.3358, allocations: 0.8183 MB / 403.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3359, allocations: 117.9 kB / 403.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.336, allocations: 10.75 kB / 403.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3362, allocations: 15.77 kB / 403.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3363, allocations: 43.12 kB / 403.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.3364, allocations: 11.84 kB / 403.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.3365, allocations: 144.3 kB / 403.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3366, allocations: 1.312 kB / 403.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006412/0.3372, allocations: 160.6 kB / 403.8 MB, free: 11 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002012/0.3392, allocations: 1.4 MB / 405.2 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3405, allocations: 0.5915 MB / 405.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3405, allocations: 3.938 kB / 405.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.3412, allocations: 389.1 kB / 406.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.3417, allocations: 37.59 kB / 406.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.3478, allocations: 3.693 MB / 409.9 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.3483, allocations: 0.8192 MB / 410.7 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.3486, allocations: 53.14 kB / 410.8 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.3488, allocations: 140.9 kB / 410.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3488, allocations: 1.219 kB / 410.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/0.3865, allocations: 7.901 MB / 418.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.65, allocations: 15.73 kB / 418.8 MB, free: 1.367 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_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_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches