Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001876/0.001876, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002229/0.002229, allocations: 207.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.88 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2206, allocations: 53.4 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005048/0.2257, allocations: 3.406 MB / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.2282, allocations: 1.394 MB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.2284, allocations: 12 kB / 435.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.2302, allocations: 0.6991 MB / 436.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008891/0.2311, allocations: 386.1 kB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.2322, allocations: 0.5166 MB / 437.5 MB, free: 40 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.2327, allocations: 462 kB / 438 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007055/0.2334, allocations: 433.9 kB / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.2337, allocations: 223.2 kB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.2341, allocations: 231 kB / 438.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.2341, allocations: 44 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.2345, allocations: 215.8 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.2346, allocations: 103.6 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.2348, allocations: 199.1 kB / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008816/0.2357, allocations: 0.7044 MB / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2357, allocations: 0 / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2357, allocations: 3.938 kB / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.2357, allocations: 4 kB / 440.1 MB, free: 13.45 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.002166/0.2379, allocations: 0.8512 MB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2379, allocations: 15.98 kB / 441 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.2381, allocations: 99.97 kB / 441.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/0.2416, allocations: 476.2 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.2421, allocations: 245.8 kB / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.2421, allocations: 45.69 kB / 441.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.2422, allocations: 56.33 kB / 441.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.2433, allocations: 0.5625 MB / 442.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.2433, allocations: 0 / 442.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.2434, allocations: 24 kB / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.2434, allocations: 12 kB / 442.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2445, allocations: 0.5712 MB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.2475, allocations: 1.602 MB / 444.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.249, allocations: 0.5412 MB / 445.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.2495, allocations: 238 kB / 445.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.837e-05/0.2495, allocations: 16.42 kB / 445.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.2496, allocations: 39 kB / 445.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.944e-06/0.2496, allocations: 3.938 kB / 445.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001809/0.2514, allocations: 0.6713 MB / 446.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2514, allocations: 55.84 kB / 446.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.2516, allocations: 191 kB / 446.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.2516, allocations: 29.7 kB / 446.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2518, allocations: 229 kB / 446.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.2519, allocations: 170.5 kB / 446.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.2521, allocations: 90.12 kB / 446.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2522, allocations: 338.8 kB / 447.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.2525, allocations: 152.9 kB / 447.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.253, allocations: 245.9 kB / 447.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.2537, allocations: 412.9 kB / 448 MB, free: 5.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2537, allocations: 0 / 448 MB, free: 5.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001139/0.2548, allocations: 0.5358 MB / 448.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2549, allocations: 4 kB / 448.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2549, allocations: 4 kB / 448.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.2552, allocations: 80.8 kB / 448.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.2556, allocations: 95.83 kB / 448.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.2575, allocations: 1.663 MB / 450.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.2578, allocations: 51.61 kB / 450.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.2579, allocations: 20 kB / 450.5 MB, free: 2.672 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.0002079/0.2581, allocations: 169.8 kB / 450.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.2581, allocations: 23.86 kB / 450.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.2593, allocations: 0.5434 MB / 451.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2593, allocations: 4 kB / 451.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.2593, allocations: 7.938 kB / 451.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2593, allocations: 0 / 451.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.2612, allocations: 1.053 MB / 452.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2612, allocations: 4 kB / 452.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.2615, allocations: 83.83 kB / 452.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.2618, allocations: 80.73 kB / 452.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.2618, allocations: 16.06 kB / 452.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.2637, allocations: 1.647 MB / 454.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2637, allocations: 32 / 454.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.2651, allocations: 0.8031 MB / 454.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.2652, allocations: 35.72 kB / 454.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.2652, allocations: 8 kB / 455 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.2654, allocations: 19.98 kB / 455 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.2655, allocations: 40.3 kB / 455 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.2656, allocations: 19.94 kB / 455 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.2657, allocations: 139.3 kB / 455.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2657, allocations: 0 / 455.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000509/0.2662, allocations: 155.6 kB / 455.3 MB, free: 13.61 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.001919/0.2681, allocations: 1.371 MB / 456.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2692, allocations: 0.5464 MB / 457.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2692, allocations: 4 kB / 457.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006345/0.2699, allocations: 361.5 kB / 457.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.2702, allocations: 39.92 kB / 457.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/0.2753, allocations: 3.456 MB / 461.1 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2755, allocations: 200.8 kB / 461.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.2757, allocations: 46.95 kB / 461.3 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.2759, allocations: 135.4 kB / 461.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2759, allocations: 3.938 kB / 461.5 MB, free: 7.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04088/0.3168, allocations: 8.404 MB / 469.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12, allocations: 11.86 kB / 469.9 MB, free: 14.95 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.502459562849253]