Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001218/0.001218, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009517/0.0009517, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9103/0.9103, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 34.25 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.772e-05, allocations: 5.094 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1774/0.1774, allocations: 6.818 MB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1798, allocations: 2.293 MB / 451.3 MB, free: 39.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.1801, allocations: 29.84 kB / 451.3 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.1817, allocations: 1.785 MB / 453.1 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007911/0.1824, allocations: 0.7248 MB / 453.8 MB, free: 37.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.1834, allocations: 1.037 MB / 454.8 MB, free: 37.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007015/0.1841, allocations: 1.459 MB / 456.3 MB, free: 36.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007424/0.1849, allocations: 0.9161 MB / 457.2 MB, free: 35.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005302/0.1854, allocations: 0.8521 MB / 458.1 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.1858, allocations: 0.568 MB / 458.6 MB, free: 35.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.1859, allocations: 116.5 kB / 458.7 MB, free: 35.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.1862, allocations: 323.5 kB / 459.1 MB, free: 35.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1863, allocations: 299.6 kB / 459.4 MB, free: 34.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.1866, allocations: 456.2 kB / 459.8 MB, free: 34.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009861/0.1876, allocations: 1.814 MB / 461.6 MB, free: 34.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1876, allocations: 4 kB / 461.6 MB, free: 34.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1876, allocations: 0 / 461.6 MB, free: 34.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1876, allocations: 0.5625 kB / 461.6 MB, free: 34.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.003697/0.1913, allocations: 2.321 MB / 463.9 MB, free: 32.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1913, allocations: 9.281 kB / 464 MB, free: 32.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.1914, allocations: 200.5 kB / 464.1 MB, free: 32.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/0.1958, allocations: 1.335 MB / 465.5 MB, free: 32.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.1965, allocations: 0.5565 MB / 466 MB, free: 32.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.1965, allocations: 101.5 kB / 466.1 MB, free: 32.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1967, allocations: 132.5 kB / 466.3 MB, free: 32.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1981, allocations: 1.589 MB / 467.9 MB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.1982, allocations: 11.41 kB / 467.9 MB, free: 31.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.1982, allocations: 48.72 kB / 467.9 MB, free: 31.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.1983, allocations: 36.48 kB / 468 MB, free: 31.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.1998, allocations: 1.51 MB / 469.5 MB, free: 30.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.2038, allocations: 4.447 MB / 473.9 MB, free: 27.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.2049, allocations: 1.062 MB / 475 MB, free: 27.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.2054, allocations: 0.5453 MB / 475.5 MB, free: 27.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-05/0.2055, allocations: 35.45 kB / 475.6 MB, free: 27.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.2055, allocations: 57.05 kB / 475.6 MB, free: 27.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 2.685e-06/0.2055, allocations: 0 / 475.6 MB, free: 27.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.004684/0.2102, allocations: 2.998 MB / 478.6 MB, free: 26.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.2102, allocations: 90.3 kB / 478.7 MB, free: 26.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.2105, allocations: 474.1 kB / 479.2 MB, free: 25.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.2105, allocations: 47.73 kB / 479.2 MB, free: 25.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.2107, allocations: 470.4 kB / 479.7 MB, free: 25.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.2108, allocations: 440 kB / 480.1 MB, free: 25.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.211, allocations: 228.2 kB / 480.3 MB, free: 25.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.2111, allocations: 380.1 kB / 480.7 MB, free: 24.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.2115, allocations: 465.6 kB / 481.1 MB, free: 24.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.2121, allocations: 0.6961 MB / 481.8 MB, free: 24.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2133, allocations: 1.206 MB / 483 MB, free: 23.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.2133, allocations: 2.188 kB / 483 MB, free: 23.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001817/0.2152, allocations: 1.578 MB / 484.6 MB, free: 22.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2152, allocations: 7.375 kB / 484.6 MB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.2152, allocations: 7.219 kB / 484.6 MB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009686/0.2162, allocations: 0.5296 MB / 485.2 MB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.2166, allocations: 202.6 kB / 485.4 MB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001028/0.2167, allocations: 52.44 kB / 485.4 MB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.217, allocations: 119.9 kB / 485.5 MB, free: 22.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.2171, allocations: 49.06 kB / 485.6 MB, free: 22.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0002745/0.2174, allocations: 273.8 kB / 485.8 MB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.2175, allocations: 87.12 kB / 485.9 MB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.2192, allocations: 1.548 MB / 487.5 MB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.2192, allocations: 12.75 kB / 487.5 MB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2192, allocations: 3.938 kB / 487.5 MB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.2192, allocations: 12.17 kB / 487.5 MB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.222, allocations: 2.647 MB / 490.2 MB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.222, allocations: 1 kB / 490.2 MB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.2223, allocations: 139.8 kB / 490.3 MB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000828/0.2232, allocations: 0.5245 MB / 490.8 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.2232, allocations: 27.98 kB / 490.8 MB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001485/0.2234, allocations: 70.89 kB / 490.9 MB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2234, allocations: 1.094 kB / 490.9 MB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.2257, allocations: 2.311 MB / 493.2 MB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.226, allocations: 214.3 kB / 493.4 MB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.2261, allocations: 22.5 kB / 493.5 MB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.2263, allocations: 42.28 kB / 493.5 MB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.2265, allocations: 92.61 kB / 493.6 MB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.2265, allocations: 35.75 kB / 493.6 MB, free: 18.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.2267, allocations: 311 kB / 493.9 MB, free: 18.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2267, allocations: 0 / 493.9 MB, free: 18.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006541/0.2274, allocations: 349.7 kB / 494.3 MB, free: 18.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002803/0.2302, allocations: 2.916 MB / 497.2 MB, free: 16.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.2323, allocations: 1.285 MB / 498.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2323, allocations: 448 / 498.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.2333, allocations: 0.6839 MB / 499.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.2337, allocations: 100 kB / 499.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008554/0.2423, allocations: 8.386 MB / 0.4957 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.2427, allocations: 459.8 kB / 0.4962 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002841/0.2429, allocations: 111.1 kB / 0.4963 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.2432, allocations: 399.9 kB / 0.4967 GB, free: 10.47 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2432, allocations: 0 / 0.4967 GB, free: 10.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.2779, allocations: 21.61 MB / 0.5178 GB, free: 8.125 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.721, allocations: 2.969 kB / 0.5178 GB, free: 8.125 MB / 426.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019976 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable I.re in file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.re from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! Error: Could not read variable I.im in file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.im from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.879918697290123]