Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 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.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_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.001656/0.001656, allocations: 110.2 kB / 17.06 MB, free: 5.785 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.001763/0.001763, allocations: 193.4 kB / 18.01 MB, free: 4.941 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 55.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2907, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00555/0.2963, allocations: 3.693 MB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.299, allocations: 1.429 MB / 405.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.2992, allocations: 8 kB / 405.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.3012, allocations: 0.7506 MB / 406.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.3025, allocations: 0.5394 MB / 406.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.3034, allocations: 420.3 kB / 407.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005843/0.304, allocations: 454 kB / 407.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006368/0.3046, allocations: 400.7 kB / 407.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.3049, allocations: 211.2 kB / 408.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.3053, allocations: 270.9 kB / 408.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.3054, allocations: 40 kB / 408.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.3058, allocations: 203.8 kB / 408.6 MB, free: 396 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.264e-05/0.3059, allocations: 107.6 kB / 408.7 MB, free: 288 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.3061, allocations: 230.9 kB / 408.9 MB, free: 56 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009022/0.307, allocations: 0.6772 MB / 409.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.307, allocations: 0 / 409.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.307, allocations: 4 kB / 409.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.3071, allocations: 0 / 409.6 MB, free: 15.37 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.002156/0.3092, allocations: 0.9188 MB / 410.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3093, allocations: 8.031 kB / 410.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.3094, allocations: 104 kB / 410.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003472/0.3129, allocations: 492.1 kB / 411.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.3134, allocations: 313.5 kB / 411.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.3135, allocations: 41.69 kB / 411.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.3136, allocations: 52.38 kB / 411.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009944/0.3146, allocations: 0.5218 MB / 412.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.3146, allocations: 0 / 412.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.3147, allocations: 24 kB / 412.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.3147, allocations: 12 kB / 412.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.3158, allocations: 0.5634 MB / 412.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/0.3188, allocations: 1.866 MB / 414.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.3213, allocations: 2.188 MB / 416.7 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.3217, allocations: 210.1 kB / 416.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.3218, allocations: 93.52 kB / 417 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3219, allocations: 46.92 kB / 417 MB, free: 7.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 1.864e-06/0.3219, allocations: 4 kB / 417.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.00205/0.3239, allocations: 0.7934 MB / 417.8 MB, free: 6.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.324, allocations: 59.84 kB / 417.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.3242, allocations: 182.3 kB / 418.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.3243, allocations: 33.7 kB / 418.1 MB, free: 6.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3244, allocations: 224.9 kB / 418.3 MB, free: 5.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.3246, allocations: 174.5 kB / 418.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.3247, allocations: 82.25 kB / 418.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3249, allocations: 330.8 kB / 418.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.3252, allocations: 153 kB / 419.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.3256, allocations: 232.7 kB / 419.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/0.3263, allocations: 399.5 kB / 419.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3263, allocations: 0 / 419.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001071/0.3274, allocations: 0.5278 MB / 420.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3274, allocations: 8 kB / 420.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3274, allocations: 4.203 kB / 420.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/0.3278, allocations: 96.75 kB / 420.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.3282, allocations: 83.89 kB / 420.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.3306, allocations: 2.053 MB / 422.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.3308, allocations: 51.69 kB / 422.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.3309, allocations: 19.94 kB / 422.5 MB, free: 1.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0002346/0.3311, allocations: 161.8 kB / 422.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.3312, allocations: 23.86 kB / 422.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3324, allocations: 0.5512 MB / 423.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.3324, allocations: 4 kB / 423.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3324, allocations: 8 kB / 423.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3324, allocations: 7.922 kB / 423.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.3342, allocations: 1.119 MB / 424.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3342, allocations: 4 kB / 424.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.3346, allocations: 80.08 kB / 424.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/0.3349, allocations: 88.69 kB / 424.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.3349, allocations: 15.98 kB / 424.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.337, allocations: 2.029 MB / 426.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3371, allocations: 0 / 426.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.3385, allocations: 0.7933 MB / 427.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.3386, allocations: 116.8 kB / 427.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.3386, allocations: 7.984 kB / 427.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3388, allocations: 16 kB / 427.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.3389, allocations: 32.39 kB / 427.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.339, allocations: 19.98 kB / 427.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.3391, allocations: 132.2 kB / 427.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3391, allocations: 4.062 kB / 427.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.3397, allocations: 151.7 kB / 427.9 MB, free: 11.96 MB / 350.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 (42): * Single equations (assignments): 41 * 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.00192/0.3416, allocations: 1.38 MB / 429.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.3428, allocations: 0.5659 MB / 429.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3428, allocations: 448 / 429.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006286/0.3434, allocations: 381 kB / 430.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3438, allocations: 32.11 kB / 430.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.3489, allocations: 3.406 MB / 433.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.3494, allocations: 0.8083 MB / 434.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.3496, allocations: 46.95 kB / 434.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3499, allocations: 143.4 kB / 434.6 MB, free: 4.992 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3499, allocations: 0 / 434.6 MB, free: 4.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/0.3858, allocations: 7.6 MB / 442.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.922/10.31, allocations: 4.625 kB / 442.2 MB, free: 13.57 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches