Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_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.001318/0.001318, allocations: 111 kB / 17.06 MB, free: 5.965 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.001304/0.001304, allocations: 198.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 51.91 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2945, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005045/0.2997, allocations: 3.692 MB / 403.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3019, allocations: 1.425 MB / 405.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.3021, allocations: 8 kB / 405.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.3038, allocations: 0.7544 MB / 406.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.3049, allocations: 0.5425 MB / 406.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.3057, allocations: 425.7 kB / 407.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.3062, allocations: 466 kB / 407.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000686/0.3069, allocations: 463.6 kB / 408 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.3072, allocations: 219.2 kB / 408.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.3075, allocations: 278.9 kB / 408.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.3076, allocations: 44 kB / 408.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.308, allocations: 207.9 kB / 408.7 MB, free: 332 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.308, allocations: 107.6 kB / 408.8 MB, free: 224 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.3082, allocations: 234.9 kB / 409.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000685/0.3089, allocations: 0.6931 MB / 409.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3089, allocations: 0 / 409.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.309, allocations: 4 kB / 409.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.309, allocations: 0 / 409.7 MB, free: 15.29 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001913/0.3109, allocations: 0.9054 MB / 410.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3109, allocations: 16.03 kB / 410.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.3111, allocations: 103.9 kB / 410.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.3144, allocations: 495.9 kB / 411.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.3149, allocations: 311.7 kB / 411.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.3149, allocations: 41.69 kB / 411.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.315, allocations: 56.38 kB / 411.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009017/0.3159, allocations: 0.5336 MB / 412.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.316, allocations: 0 / 412.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.316, allocations: 20 kB / 412.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.316, allocations: 16 kB / 412.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009773/0.317, allocations: 0.579 MB / 412.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.3198, allocations: 1.871 MB / 414.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.3218, allocations: 2.178 MB / 416.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.3223, allocations: 262.1 kB / 417.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.728e-05/0.3224, allocations: 93.53 kB / 417.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3224, allocations: 31 kB / 417.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 1.934e-06/0.3224, allocations: 0 / 417.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001745/0.3242, allocations: 0.7466 MB / 418 MB, free: 6.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3242, allocations: 55.84 kB / 418 MB, free: 6.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3244, allocations: 178.3 kB / 418.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3244, allocations: 37.64 kB / 418.2 MB, free: 6.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3246, allocations: 232.3 kB / 418.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3247, allocations: 161.6 kB / 418.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3249, allocations: 82.25 kB / 418.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.325, allocations: 342.8 kB / 419 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3253, allocations: 145.1 kB / 419.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.3257, allocations: 242.5 kB / 419.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.3264, allocations: 412.9 kB / 419.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3264, allocations: 0 / 419.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001038/0.3275, allocations: 0.5354 MB / 420.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.3275, allocations: 8 kB / 420.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.3275, allocations: 7.984 kB / 420.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/0.3279, allocations: 77.09 kB / 420.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.3283, allocations: 91.89 kB / 420.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.3302, allocations: 1.781 MB / 422.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.3305, allocations: 43.53 kB / 422.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.3306, allocations: 31.98 kB / 422.4 MB, free: 1.727 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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.0002145/0.3308, allocations: 157.8 kB / 422.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.3309, allocations: 27.72 kB / 422.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.332, allocations: 0.5355 MB / 423.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.332, allocations: 8 kB / 423.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.332, allocations: 3.938 kB / 423.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.332, allocations: 7.922 kB / 423.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.3339, allocations: 1.148 MB / 424.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3339, allocations: 4 kB / 424.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.3342, allocations: 79.91 kB / 424.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003311/0.3346, allocations: 80.86 kB / 424.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.3346, allocations: 12 kB / 424.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.3365, allocations: 1.762 MB / 426.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3365, allocations: 4.031 kB / 426.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3379, allocations: 0.799 MB / 427 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.338, allocations: 120.7 kB / 427.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.3381, allocations: 8 kB / 427.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.3383, allocations: 23.98 kB / 427.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.3384, allocations: 40.27 kB / 427.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.3385, allocations: 16 kB / 427.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.3386, allocations: 132.2 kB / 427.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3386, allocations: 0 / 427.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.3391, allocations: 147.6 kB / 427.5 MB, free: 12.36 MB / 350.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 (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,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.001703/0.3409, allocations: 1.371 MB / 428.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.342, allocations: 0.5697 MB / 429.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.342, allocations: 0.5625 kB / 429.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.3426, allocations: 392.9 kB / 429.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.343, allocations: 27.94 kB / 429.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.3478, allocations: 3.444 MB / 433.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3482, allocations: 0.8084 MB / 434.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.3484, allocations: 46.95 kB / 434.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.3486, allocations: 135.4 kB / 434.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3486, allocations: 4 kB / 434.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.3816, allocations: 7.701 MB / 442 MB, free: 13.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.913/10.29, allocations: 19.33 kB / 442 MB, free: 13.77 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches