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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002222/0.002222, allocations: 186 kB / 23.7 MB, free: 4.191 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.453/1.453, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 47.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2258, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005084/0.2309, allocations: 3.39 MB / 426 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.2333, allocations: 1.328 MB / 427.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.2334, allocations: 8 kB / 427.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.2352, allocations: 0.7 MB / 428 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.2363, allocations: 0.528 MB / 428.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008278/0.2371, allocations: 399.2 kB / 428.9 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.2376, allocations: 477.9 kB / 429.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.2383, allocations: 414.2 kB / 429.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.2386, allocations: 219.3 kB / 430 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.2389, allocations: 238.9 kB / 430.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.239, allocations: 44 kB / 430.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.2394, allocations: 207.8 kB / 430.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.2395, allocations: 111.6 kB / 430.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.2397, allocations: 183.2 kB / 430.8 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.2405, allocations: 0.6927 MB / 431.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.2405, allocations: 3.984 kB / 431.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2405, allocations: 0 / 431.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.2405, allocations: 0 / 431.5 MB, free: 5.469 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.002146/0.2427, allocations: 0.8564 MB / 432.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2427, allocations: 12.03 kB / 432.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.2428, allocations: 100 kB / 432.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/0.2463, allocations: 492.1 kB / 432.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.2468, allocations: 261.8 kB / 433.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.2468, allocations: 37.69 kB / 433.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.2469, allocations: 56.36 kB / 433.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.2479, allocations: 0.5547 MB / 433.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.248, allocations: 4 kB / 433.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.248, allocations: 20 kB / 433.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.248, allocations: 12 kB / 433.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2491, allocations: 0.5751 MB / 434.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.2521, allocations: 1.587 MB / 436 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.2535, allocations: 0.5344 MB / 436.5 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.254, allocations: 234 kB / 436.8 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-05/0.2541, allocations: 16.5 kB / 436.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.2541, allocations: 39 kB / 436.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.803e-06/0.2541, allocations: 4 kB / 436.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001798/0.2559, allocations: 0.6597 MB / 437.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.256, allocations: 55.84 kB / 437.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2562, allocations: 190 kB / 437.7 MB, free: 15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.2562, allocations: 33.7 kB / 437.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2563, allocations: 229 kB / 438 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.2565, allocations: 166.5 kB / 438.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.2566, allocations: 86.17 kB / 438.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2568, allocations: 338.8 kB / 438.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.2571, allocations: 148.9 kB / 438.7 MB, free: 14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.2575, allocations: 241.9 kB / 439 MB, free: 13.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.2582, allocations: 416.9 kB / 439.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2582, allocations: 0 / 439.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001086/0.2593, allocations: 0.5316 MB / 439.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2593, allocations: 8 kB / 439.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2593, allocations: 4 kB / 439.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/0.2597, allocations: 81.08 kB / 440 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.26, allocations: 95.83 kB / 440.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.262, allocations: 1.659 MB / 441.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.2622, allocations: 51.66 kB / 441.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.2623, allocations: 16 kB / 441.8 MB, free: 10.72 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.0002057/0.2625, allocations: 169.7 kB / 442 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.2625, allocations: 31.8 kB / 442 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.2637, allocations: 0.5279 MB / 442.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2637, allocations: 4 kB / 442.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.2637, allocations: 7.938 kB / 442.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2637, allocations: 3.984 kB / 442.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.2655, allocations: 1.057 MB / 443.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2655, allocations: 0 / 443.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.2658, allocations: 83.89 kB / 443.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/0.2661, allocations: 72.88 kB / 443.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.2661, allocations: 19.92 kB / 443.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.268, allocations: 1.664 MB / 445.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.268, allocations: 4.062 kB / 445.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.2693, allocations: 0.7951 MB / 446.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.2694, allocations: 31.77 kB / 446.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.2694, allocations: 11.98 kB / 446.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2697, allocations: 20.06 kB / 446.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.289e-05/0.2698, allocations: 44.3 kB / 446.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.2698, allocations: 12 kB / 446.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.2699, allocations: 148.2 kB / 446.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2699, allocations: 0 / 446.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005126/0.2704, allocations: 151.6 kB / 446.6 MB, free: 5.652 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.001865/0.2723, allocations: 1.371 MB / 448 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.2734, allocations: 0.5385 MB / 448.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2734, allocations: 4 kB / 448.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000621/0.274, allocations: 357.7 kB / 448.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.2743, allocations: 31.94 kB / 448.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.2793, allocations: 3.456 MB / 452.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.2795, allocations: 200.8 kB / 452.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.2797, allocations: 50.95 kB / 452.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.2799, allocations: 135.4 kB / 452.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2799, allocations: 0 / 452.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04173/0.3216, allocations: 8.245 MB / 461 MB, free: 7.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.03, allocations: 4.062 kB / 461 MB, free: 7.219 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv","/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) [Timeout 660] "Error: Could not read variable resistor.pin_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.453961970750242]