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.001823/0.001823, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002276/0.002276, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.525/1.525, allocations: 230.5 MB / 254 MB, free: 15.16 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.001873/0.001873, allocations: 55.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1137, allocations: 53.38 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005254/0.119, allocations: 3.733 MB / 430.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.1218, allocations: 1.499 MB / 431.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.122, allocations: 8 kB / 431.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.1238, allocations: 0.7689 MB / 432.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000986/0.1248, allocations: 382.1 kB / 432.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1259, allocations: 0.5611 MB / 433.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.1266, allocations: 466 kB / 433.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007159/0.1273, allocations: 373.8 kB / 434.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.1277, allocations: 223.2 kB / 434.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.128, allocations: 274.9 kB / 434.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.1281, allocations: 44 kB / 434.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005581/0.1287, allocations: 219.8 kB / 434.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1288, allocations: 111.6 kB / 435 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.129, allocations: 234.9 kB / 435.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.13, allocations: 0.7004 MB / 435.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.13, allocations: 0 / 435.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.13, allocations: 0 / 435.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.557e-06/0.13, allocations: 0 / 435.9 MB, free: 11.06 MB / 366.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.002313/0.1324, allocations: 0.9239 MB / 436.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1324, allocations: 12.03 kB / 436.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.1326, allocations: 103.8 kB / 436.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/0.1361, allocations: 476.2 kB / 437.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.1367, allocations: 307.7 kB / 437.7 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.1367, allocations: 37.69 kB / 437.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1368, allocations: 56.33 kB / 437.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1379, allocations: 0.5375 MB / 438.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.1379, allocations: 3.984 kB / 438.3 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.138, allocations: 23.98 kB / 438.4 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.138, allocations: 12 kB / 438.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.1391, allocations: 0.5868 MB / 439 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.1426, allocations: 1.962 MB / 440.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.1452, allocations: 2.128 MB / 443 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.1457, allocations: 231.9 kB / 443.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.1459, allocations: 174.6 kB / 443.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.1459, allocations: 43 kB / 443.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.975e-06/0.1459, allocations: 0 / 443.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002014/0.1479, allocations: 0.7427 MB / 444.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.148, allocations: 59.84 kB / 444.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1482, allocations: 186.3 kB / 444.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.1483, allocations: 33.7 kB / 444.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1484, allocations: 225 kB / 444.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.1486, allocations: 170.5 kB / 444.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.1487, allocations: 82.23 kB / 445 MB, free: 1.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1489, allocations: 338.8 kB / 445.3 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.1492, allocations: 161 kB / 445.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.1496, allocations: 234.6 kB / 445.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.1503, allocations: 416.9 kB / 446.1 MB, free: 60 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1503, allocations: 0 / 446.1 MB, free: 60 kB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.2305/0.3809, allocations: 0.532 MB / 446.6 MB, free: 24.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.3809, allocations: 8.922 kB / 446.6 MB, free: 24.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3809, allocations: 2.875 kB / 446.6 MB, free: 24.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.3813, allocations: 76.83 kB / 446.7 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.3817, allocations: 98.78 kB / 446.8 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.3833, allocations: 1.781 MB / 448.6 MB, free: 22.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.3835, allocations: 47.86 kB / 448.6 MB, free: 22.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.3836, allocations: 17.8 kB / 448.7 MB, free: 22.8 MB / 366.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.0001986/0.3838, allocations: 169 kB / 448.8 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.3838, allocations: 29.5 kB / 448.8 MB, free: 22.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.3849, allocations: 0.5378 MB / 449.4 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3849, allocations: 6.062 kB / 449.4 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3849, allocations: 11.19 kB / 449.4 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3849, allocations: 4.031 kB / 449.4 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.3865, allocations: 1.142 MB / 450.6 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3865, allocations: 2.656 kB / 450.6 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.3869, allocations: 81.72 kB / 450.6 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.3872, allocations: 77.44 kB / 450.7 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.3872, allocations: 10.56 kB / 450.7 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.3887, allocations: 1.775 MB / 452.5 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3887, allocations: 1.188 kB / 452.5 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.39, allocations: 0.8002 MB / 453.3 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.39, allocations: 109 kB / 453.4 MB, free: 20.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.3901, allocations: 11.94 kB / 453.4 MB, free: 20.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3903, allocations: 28.11 kB / 453.4 MB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.3904, allocations: 38.5 kB / 453.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.3904, allocations: 16.2 kB / 453.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.3906, allocations: 132.5 kB / 453.6 MB, free: 19.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3906, allocations: 0 / 453.6 MB, free: 19.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005561/0.3911, allocations: 153.7 kB / 453.8 MB, free: 19.94 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.001658/0.3928, allocations: 1.38 MB / 455.2 MB, free: 18.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3939, allocations: 0.5443 MB / 455.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3939, allocations: 3.625 kB / 455.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.3945, allocations: 357.6 kB / 456 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3949, allocations: 32.91 kB / 456.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.4, allocations: 3.459 MB / 459.5 MB, free: 16.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.4004, allocations: 0.8059 MB / 460.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.4006, allocations: 48.69 kB / 460.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.4008, allocations: 140.3 kB / 460.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4008, allocations: 0 / 460.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03798/0.4388, allocations: 7.754 MB / 468.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.5, allocations: 1.5 kB / 468.3 MB, free: 14.46 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.095915078069083]