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.001537/0.001538, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001868/0.001868, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.295/1.295, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001126/0.001126, allocations: 55.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07825/0.07938, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005102/0.08454, allocations: 3.75 MB / 378.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1876/0.2721, allocations: 1.456 MB / 379.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003655/0.2726, allocations: 8.25 kB / 379.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.2742, allocations: 0.7583 MB / 380.6 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.2753, allocations: 0.5584 MB / 381.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.276, allocations: 428.4 kB / 381.6 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.2764, allocations: 0.491 MB / 382.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007024/0.2771, allocations: 463.9 kB / 382.5 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.2775, allocations: 234.3 kB / 382.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.2778, allocations: 287.2 kB / 383 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.694e-05/0.2779, allocations: 45.81 kB / 383.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.2783, allocations: 210.8 kB / 383.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.2784, allocations: 120.7 kB / 383.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.2786, allocations: 252.7 kB / 383.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.2794, allocations: 0.7228 MB / 384.4 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2794, allocations: 1.375 kB / 384.4 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2794, allocations: 0 / 384.4 MB, free: 8.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.2794, allocations: 0 / 384.4 MB, free: 8.613 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.002009/0.2814, allocations: 0.9577 MB / 385.3 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2815, allocations: 8.781 kB / 385.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.2816, allocations: 102.5 kB / 385.5 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/0.2858, allocations: 0.5911 MB / 386 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.2863, allocations: 314.4 kB / 386.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.2863, allocations: 45.69 kB / 386.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/0.2864, allocations: 61.77 kB / 386.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.2875, allocations: 0.5737 MB / 387 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.2875, allocations: 1.344 kB / 387 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.2876, allocations: 23.88 kB / 387.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2876, allocations: 14.77 kB / 387.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.2887, allocations: 0.6451 MB / 387.7 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.2915, allocations: 2.064 MB / 389.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.2936, allocations: 3.003 MB / 392.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.2941, allocations: 274.1 kB / 393 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.2942, allocations: 99.47 kB / 393.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.2942, allocations: 37.62 kB / 393.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.904e-06/0.2942, allocations: 1.25 kB / 393.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001676/0.2959, allocations: 0.7545 MB / 393.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.2959, allocations: 55.81 kB / 394 MB, free: 1.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2961, allocations: 204.4 kB / 394.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.2961, allocations: 31.05 kB / 394.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2962, allocations: 250 kB / 394.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/0.2963, allocations: 179.9 kB / 394.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.2965, allocations: 94.67 kB / 394.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.2965, allocations: 337.4 kB / 395.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.2968, allocations: 162.9 kB / 395.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.2972, allocations: 282.4 kB / 395.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.2978, allocations: 479.5 kB / 396 MB, free: 444 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2978, allocations: 0.875 kB / 396 MB, free: 444 kB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001021/0.2989, allocations: 0.5883 MB / 396.6 MB, free: 176 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2989, allocations: 6.125 kB / 396.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2989, allocations: 5.578 kB / 396.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.2993, allocations: 83.62 kB / 396.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.2997, allocations: 111.9 kB / 396.8 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.3015, allocations: 1.782 MB / 398.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.3018, allocations: 54.41 kB / 398.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.3018, allocations: 23.17 kB / 398.6 MB, free: 14.5 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.0002071/0.302, allocations: 184.1 kB / 398.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.3021, allocations: 25.73 kB / 398.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.3032, allocations: 0.5543 MB / 399.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3032, allocations: 6.062 kB / 399.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3032, allocations: 0.5625 kB / 399.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.3032, allocations: 2.25 kB / 399.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.305, allocations: 1.177 MB / 400.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.305, allocations: 2.281 kB / 400.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.3053, allocations: 80.36 kB / 400.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.3056, allocations: 79.5 kB / 400.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.3057, allocations: 12.92 kB / 400.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.3073, allocations: 1.769 MB / 402.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3073, allocations: 1.906 kB / 402.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3087, allocations: 0.8202 MB / 403.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.3088, allocations: 113.3 kB / 403.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.3088, allocations: 16.42 kB / 403.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.3091, allocations: 23.73 kB / 403.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.3092, allocations: 35.34 kB / 403.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.3092, allocations: 16.12 kB / 403.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.3094, allocations: 144.3 kB / 403.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3094, allocations: 0 / 403.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006043/0.31, allocations: 158 kB / 403.8 MB, free: 11.02 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.001805/0.3118, allocations: 1.401 MB / 405.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3129, allocations: 0.5919 MB / 405.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3129, allocations: 0 / 405.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006085/0.3135, allocations: 390.8 kB / 406.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.3139, allocations: 40.38 kB / 406.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.319, allocations: 3.685 MB / 409.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3194, allocations: 0.8177 MB / 410.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.3196, allocations: 52.06 kB / 410.8 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.3198, allocations: 142.7 kB / 410.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3198, allocations: 0 / 410.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.3476, allocations: 7.904 MB / 418.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.973/10.32, allocations: 23.75 kB / 418.9 MB, free: 1.363 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