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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 188.3 kB / 23.72 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.92 kB / 370.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2858, allocations: 52.18 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.006905/0.2927, allocations: 3.735 MB / 426.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.2967, allocations: 1.444 MB / 427.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.2969, allocations: 8 kB / 427.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.2995, allocations: 0.7701 MB / 428.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.301, allocations: 0.547 MB / 429.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.3019, allocations: 428.9 kB / 429.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006993/0.3026, allocations: 454 kB / 430 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000645/0.3033, allocations: 361.4 kB / 430.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.3036, allocations: 207.2 kB / 430.5 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.304, allocations: 270.9 kB / 430.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.304, allocations: 40 kB / 430.9 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.3045, allocations: 207.8 kB / 431.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3046, allocations: 103.7 kB / 431.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.3048, allocations: 238.9 kB / 431.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.3057, allocations: 0.6781 MB / 432.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3057, allocations: 0 / 432.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3057, allocations: 0 / 432.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.3058, allocations: 3.938 kB / 432.1 MB, free: 5.148 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.00223/0.308, allocations: 0.8408 MB / 432.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.308, allocations: 15.97 kB / 432.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.3082, allocations: 96.02 kB / 433 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/0.3115, allocations: 496.1 kB / 433.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.312, allocations: 253.8 kB / 433.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.312, allocations: 41.69 kB / 433.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3121, allocations: 52.38 kB / 433.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.3131, allocations: 0.514 MB / 434.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.3132, allocations: 0 / 434.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.3132, allocations: 20 kB / 434.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.3132, allocations: 20 kB / 434.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.3143, allocations: 0.5673 MB / 435 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.3172, allocations: 1.717 MB / 436.7 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.3187, allocations: 0.571 MB / 437.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.3191, allocations: 182.1 kB / 437.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.3191, allocations: 8.438 kB / 437.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3192, allocations: 42.94 kB / 437.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.3192, allocations: 0 / 437.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001912/0.3211, allocations: 0.7104 MB / 438.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.3211, allocations: 63.83 kB / 438.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3213, allocations: 178.2 kB / 438.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.3214, allocations: 37.7 kB / 438.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3215, allocations: 233 kB / 438.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.3217, allocations: 162.5 kB / 438.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3218, allocations: 90.14 kB / 438.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.322, allocations: 334.8 kB / 439.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.3223, allocations: 148.9 kB / 439.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.3227, allocations: 236.2 kB / 439.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/0.3233, allocations: 395.4 kB / 440 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3233, allocations: 4 kB / 440 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001018/0.3244, allocations: 0.5241 MB / 440.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3244, allocations: 8 kB / 440.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3244, allocations: 0 / 440.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003671/0.3248, allocations: 96.73 kB / 440.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.3251, allocations: 95.89 kB / 440.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.3273, allocations: 1.938 MB / 442.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.3276, allocations: 43.67 kB / 442.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.3276, allocations: 23.94 kB / 442.8 MB, free: 10.05 MB / 350.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.0002108/0.3278, allocations: 167.7 kB / 442.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.3279, allocations: 27.86 kB / 442.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.329, allocations: 0.5471 MB / 443.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.329, allocations: 4 kB / 443.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.329, allocations: 4 kB / 443.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.329, allocations: 3.938 kB / 443.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3308, allocations: 1.091 MB / 444.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3308, allocations: 0 / 444.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.3311, allocations: 75.89 kB / 444.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.3314, allocations: 84.81 kB / 444.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.3314, allocations: 15.98 kB / 444.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.3335, allocations: 1.947 MB / 446.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3335, allocations: 0 / 446.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.3349, allocations: 0.7894 MB / 447.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.3349, allocations: 39.72 kB / 447.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.3349, allocations: 4 kB / 447.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.3352, allocations: 24.05 kB / 447.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.3353, allocations: 32.38 kB / 447.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.3353, allocations: 19.98 kB / 447.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.3354, allocations: 140.2 kB / 447.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3354, allocations: 0 / 447.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005595/0.336, allocations: 151.7 kB / 447.9 MB, free: 4.691 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.001749/0.3377, allocations: 1.361 MB / 449.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.3387, allocations: 0.5463 MB / 449.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3387, allocations: 0 / 449.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.3393, allocations: 357.4 kB / 450.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3396, allocations: 35.92 kB / 450.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.3445, allocations: 3.398 MB / 453.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.3449, allocations: 0.8084 MB / 454.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.3451, allocations: 46.95 kB / 454.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.3453, allocations: 135.4 kB / 454.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3453, allocations: 96 / 454.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04528/0.3906, allocations: 8.029 MB / 462.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.24, allocations: 4.062 kB / 462.6 MB, free: 5.926 MB / 366.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable inductor.pin_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.75137534100213]