Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002271/0.002271, allocations: 208.5 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 47.92 kB / 377.7 MB, free: 3.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2406, allocations: 53.38 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005223/0.2458, allocations: 3.41 MB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.2486, allocations: 1.39 MB / 435.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.2487, allocations: 8 kB / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.2507, allocations: 0.7039 MB / 436.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000986/0.2516, allocations: 385.7 kB / 437 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.2528, allocations: 0.5183 MB / 437.5 MB, free: 236 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.2533, allocations: 462 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007031/0.254, allocations: 438 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.2543, allocations: 223.2 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.2547, allocations: 274.9 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.2547, allocations: 44 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.2551, allocations: 207.9 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2552, allocations: 119.5 kB / 439.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.2554, allocations: 191.1 kB / 439.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008552/0.2563, allocations: 0.7044 MB / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2563, allocations: 0 / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.2563, allocations: 7.984 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2563, allocations: 0 / 440.1 MB, free: 13.59 MB / 350.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.002116/0.2584, allocations: 0.8472 MB / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2585, allocations: 8.031 kB / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.2586, allocations: 111.9 kB / 441.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/0.2623, allocations: 468.2 kB / 441.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.2627, allocations: 245.9 kB / 441.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.509e-05/0.2628, allocations: 41.69 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.2629, allocations: 56.33 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.2639, allocations: 0.5625 MB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2639, allocations: 0 / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.264, allocations: 20 kB / 442.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.264, allocations: 19.98 kB / 442.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.2651, allocations: 0.579 MB / 443.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.2681, allocations: 1.599 MB / 444.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.2696, allocations: 0.5501 MB / 445.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.27, allocations: 226.1 kB / 445.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.55e-05/0.2701, allocations: 20.42 kB / 445.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2702, allocations: 43 kB / 445.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.884e-06/0.2702, allocations: 4 kB / 445.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001806/0.272, allocations: 0.6635 MB / 446.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.272, allocations: 55.84 kB / 446.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.2722, allocations: 190.2 kB / 446.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2722, allocations: 33.7 kB / 446.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.2724, allocations: 236.9 kB / 446.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.2725, allocations: 162.5 kB / 446.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.2727, allocations: 94.12 kB / 446.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2728, allocations: 334.8 kB / 447.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.2731, allocations: 152.9 kB / 447.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.2735, allocations: 237.9 kB / 447.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.2743, allocations: 412.9 kB / 448 MB, free: 5.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.2743, allocations: 4 kB / 448 MB, free: 5.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001104/0.2754, allocations: 0.5356 MB / 448.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2754, allocations: 7.938 kB / 448.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2754, allocations: 4 kB / 448.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/0.2757, allocations: 85.08 kB / 448.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.2761, allocations: 95.83 kB / 448.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.278, allocations: 1.655 MB / 450.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.2783, allocations: 55.61 kB / 450.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.2783, allocations: 16 kB / 450.5 MB, free: 2.82 MB / 350.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.0001964/0.2785, allocations: 165.7 kB / 450.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.2786, allocations: 27.86 kB / 450.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.2798, allocations: 0.5356 MB / 451.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.2798, allocations: 8 kB / 451.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2798, allocations: 7.938 kB / 451.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2798, allocations: 3.984 kB / 451.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.2816, allocations: 1.057 MB / 452.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2816, allocations: 0 / 452.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.2819, allocations: 79.95 kB / 452.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.2822, allocations: 80.8 kB / 452.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.2822, allocations: 8 kB / 452.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.2841, allocations: 1.67 MB / 454.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2841, allocations: 0 / 454.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.2855, allocations: 0.7912 MB / 454.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.2855, allocations: 39.72 kB / 454.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.2856, allocations: 16.06 kB / 455 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.2858, allocations: 19.98 kB / 455 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.2859, allocations: 40.3 kB / 455 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.2859, allocations: 16 kB / 455 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.2861, allocations: 136.2 kB / 455.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2861, allocations: 0 / 455.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005315/0.2866, allocations: 151.6 kB / 455.3 MB, free: 13.76 MB / 366.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.00187/0.2885, allocations: 1.383 MB / 456.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.2896, allocations: 0.5467 MB / 457.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2896, allocations: 4.125 kB / 457.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.2902, allocations: 356.9 kB / 457.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2906, allocations: 39.86 kB / 457.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005115/0.2957, allocations: 3.452 MB / 461.1 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2959, allocations: 204.8 kB / 461.3 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.2961, allocations: 54.94 kB / 461.3 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.2963, allocations: 131.4 kB / 461.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2963, allocations: 0 / 461.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.336, allocations: 8.567 MB / 470 MB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.08, allocations: 0 / 470 MB, free: 14.98 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.pin_p.reference.gamma in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.621949333988596]