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.001832/0.001832, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002181/0.002181, allocations: 192.9 kB / 23.71 MB, free: 4.406 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.595/1.595, allocations: 225.7 MB / 252.5 MB, free: 12.79 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.001719/0.001719, allocations: 43.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2239, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005479/0.2294, allocations: 3.383 MB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.2321, allocations: 1.335 MB / 427.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002539/0.2323, allocations: 12 kB / 427.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.2342, allocations: 0.7028 MB / 428 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.2355, allocations: 0.5164 MB / 428.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.2364, allocations: 414.5 kB / 428.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.2369, allocations: 454 kB / 429.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005792/0.2375, allocations: 350 kB / 429.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.2378, allocations: 215.2 kB / 429.9 MB, free: 7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.2381, allocations: 235 kB / 430.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.2382, allocations: 44 kB / 430.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.2386, allocations: 191.9 kB / 430.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.2386, allocations: 103.6 kB / 430.5 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.2388, allocations: 199 kB / 430.7 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008566/0.2397, allocations: 0.681 MB / 431.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2397, allocations: 0 / 431.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2397, allocations: 4 kB / 431.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2397, allocations: 0 / 431.4 MB, free: 5.555 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.00211/0.2418, allocations: 0.8369 MB / 432.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2419, allocations: 8.031 kB / 432.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.242, allocations: 96.02 kB / 432.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/0.2455, allocations: 0.4961 MB / 432.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.246, allocations: 249.6 kB / 433 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.2461, allocations: 45.62 kB / 433.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-05/0.2462, allocations: 52.38 kB / 433.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009884/0.2471, allocations: 0.547 MB / 433.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2472, allocations: 0 / 433.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.2472, allocations: 20 kB / 433.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.2472, allocations: 12 kB / 433.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.2483, allocations: 0.5634 MB / 434.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.2512, allocations: 1.569 MB / 435.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.2527, allocations: 0.5632 MB / 436.4 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.2531, allocations: 186.1 kB / 436.6 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/0.2532, allocations: 16.42 kB / 436.6 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2532, allocations: 38.94 kB / 436.6 MB, free: 96 kB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 3.947e-06/0.2532, allocations: 3.984 kB / 436.6 MB, free: 92 kB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001977/0.2552, allocations: 0.7142 MB / 437.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.2552, allocations: 59.84 kB / 437.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.2554, allocations: 190.1 kB / 437.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2555, allocations: 33.7 kB / 437.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.2556, allocations: 221 kB / 437.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.2558, allocations: 174.5 kB / 438 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.2559, allocations: 78.19 kB / 438.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2561, allocations: 334.8 kB / 438.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.2564, allocations: 156.9 kB / 438.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.2568, allocations: 228.2 kB / 438.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/0.2575, allocations: 403.4 kB / 439.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2575, allocations: 3.984 kB / 439.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001061/0.2586, allocations: 0.5239 MB / 439.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2586, allocations: 8.219 kB / 439.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2586, allocations: 4 kB / 439.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/0.2589, allocations: 88.73 kB / 439.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.2593, allocations: 91.89 kB / 439.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.2616, allocations: 1.926 MB / 441.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.2618, allocations: 39.73 kB / 441.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.2619, allocations: 19.94 kB / 441.9 MB, free: 10.6 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.000204/0.2621, allocations: 171.4 kB / 442.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.2622, allocations: 31.88 kB / 442.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.2633, allocations: 0.5472 MB / 442.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2633, allocations: 4 kB / 442.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2633, allocations: 4.188 kB / 442.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2633, allocations: 3.938 kB / 442.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.2651, allocations: 1.036 MB / 443.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.2651, allocations: 4 kB / 443.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.2655, allocations: 75.89 kB / 443.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.2657, allocations: 80.81 kB / 443.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.2658, allocations: 15.98 kB / 443.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.2679, allocations: 1.915 MB / 445.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2679, allocations: 32 / 445.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.2693, allocations: 0.7971 MB / 446.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.2694, allocations: 27.77 kB / 446.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.2694, allocations: 15.98 kB / 446.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.2697, allocations: 16 kB / 446.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.2697, allocations: 36.36 kB / 446.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.2698, allocations: 16 kB / 446.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.2699, allocations: 140.2 kB / 446.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2699, allocations: 3.938 kB / 446.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005579/0.2705, allocations: 151.7 kB / 447 MB, free: 5.316 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.001873/0.2723, allocations: 1.372 MB / 448.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.2734, allocations: 0.5465 MB / 448.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2734, allocations: 0 / 448.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.274, allocations: 361.3 kB / 449.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.2743, allocations: 28 kB / 449.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.2794, allocations: 3.398 MB / 452.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2796, allocations: 204.8 kB / 452.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.2798, allocations: 50.95 kB / 452.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.28, allocations: 131.4 kB / 453 MB, free: 15.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.28, allocations: 0 / 453 MB, free: 15.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05241/0.3324, allocations: 8.282 MB / 461.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.93, allocations: 7.312 kB / 461.3 MB, free: 6.922 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.584068102762103]