Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.00143/0.00143, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001469/0.001469, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2419/0.2419, allocations: 46.93 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 63.91 kB / 0.4909 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1543, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01032/0.1646, allocations: 7.77 MB / 0.563 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006574/0.1712, allocations: 2.45 MB / 0.5654 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.1727, allocations: 31.94 kB / 0.5654 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004896/0.1776, allocations: 1.82 MB / 0.5672 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003087/0.1807, allocations: 0.714 MB / 0.5679 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.1834, allocations: 1.086 MB / 0.5689 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.1862, allocations: 1.405 MB / 0.5703 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.188, allocations: 0.7742 MB / 0.571 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.1892, allocations: 0.619 MB / 0.5716 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009801/0.1901, allocations: 0.7314 MB / 0.5724 GB, free: 4.383 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.1903, allocations: 120 kB / 0.5725 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009825/0.1913, allocations: 331.8 kB / 0.5728 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.1916, allocations: 298.9 kB / 0.5731 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006619/0.1922, allocations: 0.6569 MB / 0.5737 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.1947, allocations: 1.766 MB / 0.5754 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1947, allocations: 0 / 0.5754 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1947, allocations: 0 / 0.5754 GB, free: 1.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.315e-05/0.1948, allocations: 0 / 0.5754 GB, free: 1.215 MB / 430.1 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.008311/0.2031, allocations: 2.413 MB / 0.5778 GB, free: 14.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.2031, allocations: 12.03 kB / 0.5778 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/0.2034, allocations: 194.7 kB / 0.578 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.2134, allocations: 1.339 MB / 0.5793 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.2149, allocations: 0.6248 MB / 0.5799 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/0.215, allocations: 95.02 kB / 0.58 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.2152, allocations: 136.1 kB / 0.5801 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.2181, allocations: 1.491 MB / 0.5816 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.2181, allocations: 7.891 kB / 0.5816 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.2183, allocations: 52 kB / 0.5817 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.2183, allocations: 36 kB / 0.5817 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.2211, allocations: 1.517 MB / 0.5832 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009021/0.2301, allocations: 5.612 MB / 0.5886 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.2327, allocations: 2.046 MB / 0.5906 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009962/0.2337, allocations: 0.546 MB / 0.5912 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.234, allocations: 199.2 kB / 0.5914 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.234, allocations: 55.48 kB / 0.5914 GB, free: 72 kB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.326e-06/0.234, allocations: 0 / 0.5914 GB, free: 72 kB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.2789/0.5129, allocations: 3.069 MB / 0.5944 GB, free: 33.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.513, allocations: 99.7 kB / 0.5945 GB, free: 33.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007351/0.5137, allocations: 463.7 kB / 0.595 GB, free: 33.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.74e-05/0.5138, allocations: 47.33 kB / 0.595 GB, free: 33.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.5142, allocations: 478 kB / 0.5955 GB, free: 33.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.5146, allocations: 444.8 kB / 0.5959 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000491/0.5151, allocations: 220 kB / 0.5961 GB, free: 33.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5153, allocations: 382.2 kB / 0.5965 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.5163, allocations: 461.6 kB / 0.5969 GB, free: 32.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.5174, allocations: 0.6927 MB / 0.5976 GB, free: 32.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.5194, allocations: 1.203 MB / 0.5987 GB, free: 31.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.5194, allocations: 5.812 kB / 0.5988 GB, free: 31.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003389/0.5228, allocations: 1.581 MB / 0.6003 GB, free: 31.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.5228, allocations: 10.08 kB / 0.6003 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.5228, allocations: 6.344 kB / 0.6003 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.5245, allocations: 0.5215 MB / 0.6008 GB, free: 30.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008579/0.5254, allocations: 198.4 kB / 0.601 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002091/0.5256, allocations: 51.14 kB / 0.6011 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/0.5264, allocations: 124.7 kB / 0.6012 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.5265, allocations: 52.14 kB / 0.6012 GB, free: 30.89 MB / 446.1 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.0005098/0.527, allocations: 272.9 kB / 0.6015 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.5272, allocations: 86.95 kB / 0.6016 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.5301, allocations: 1.539 MB / 0.6031 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.5301, allocations: 15.05 kB / 0.6031 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5301, allocations: 0 / 0.6031 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.5301, allocations: 11.92 kB / 0.6031 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004645/0.5347, allocations: 2.847 MB / 0.6059 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.5347, allocations: 2.094 kB / 0.6059 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.5354, allocations: 150.1 kB / 0.606 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.5368, allocations: 0.5178 MB / 0.6065 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.73e-05/0.5369, allocations: 27.48 kB / 0.6066 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003274/0.5373, allocations: 65.61 kB / 0.6066 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5373, allocations: 1.125 kB / 0.6066 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/0.5411, allocations: 2.319 MB / 0.6089 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.5416, allocations: 286 kB / 0.6092 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5417, allocations: 22.27 kB / 0.6092 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.5423, allocations: 47.48 kB / 0.6092 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.5425, allocations: 85.64 kB / 0.6093 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/0.5426, allocations: 40.52 kB / 0.6093 GB, free: 26.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003738/0.543, allocations: 310.5 kB / 0.6096 GB, free: 26.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.543, allocations: 0 / 0.6096 GB, free: 26.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00113/0.5441, allocations: 341.3 kB / 0.61 GB, free: 26.61 MB / 446.1 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.004395/0.5485, allocations: 2.921 MB / 0.6128 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003145/0.5516, allocations: 1.274 MB / 0.6141 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5516, allocations: 0 / 0.6141 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.5534, allocations: 0.6889 MB / 0.6147 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5545, allocations: 95.22 kB / 0.6148 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.5679, allocations: 8.385 MB / 0.623 GB, free: 19.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.5684, allocations: 1.044 MB / 0.624 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004433/0.5688, allocations: 115.3 kB / 0.6241 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.5693, allocations: 395.5 kB / 0.6245 GB, free: 18.36 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.5693, allocations: 4 kB / 0.6245 GB, free: 18.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05977/0.6291, allocations: 22.11 MB / 0.6461 GB, free: 14.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.58, allocations: 18.2 kB / 0.6461 GB, free: 14.42 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.re from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! Error: Could not read variable I.im in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.im from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.08478638199449]