Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008805/0.0008805, allocations: 79.69 kB / 20.02 MB, free: 4.504 MB / 18.57 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.0009036/0.0009036, allocations: 170.3 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8567/0.8567, allocations: 158.6 MB / 185.1 MB, free: 2.996 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1364/0.1364, allocations: 32.37 MB / 269.7 MB, free: 14.9 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.655e-05, allocations: 5.234 kB / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005231/0.005247, allocations: 6.806 MB / 413.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.008638, allocations: 2.255 MB / 416.1 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000693/0.009331, allocations: 35.81 kB / 416.2 MB, free: 4.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.01127, allocations: 1.781 MB / 417.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.01252, allocations: 0.7375 MB / 418.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.01379, allocations: 1.012 MB / 419.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.01509, allocations: 1.498 MB / 421.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009039/0.01599, allocations: 0.9301 MB / 422.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006165/0.01661, allocations: 0.8691 MB / 423 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.01704, allocations: 0.5765 MB / 423.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.01715, allocations: 112 kB / 423.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.01763, allocations: 319.6 kB / 424 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.01778, allocations: 310.8 kB / 424.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.0181, allocations: 470.8 kB / 424.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.01944, allocations: 1.814 MB / 426.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01944, allocations: 4 kB / 426.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01944, allocations: 0 / 426.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.01945, allocations: 0 / 426.6 MB, free: 9.805 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.003995/0.02345, allocations: 2.354 MB / 428.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.0235, allocations: 16.03 kB / 428.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.02367, allocations: 202.9 kB / 429.1 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.02849, allocations: 1.506 MB / 430.6 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.02924, allocations: 0.5677 MB / 431.2 MB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.0293, allocations: 107.1 kB / 431.3 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.02959, allocations: 132.4 kB / 431.4 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.03125, allocations: 1.632 MB / 433.1 MB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.03128, allocations: 3.938 kB / 433.1 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.03136, allocations: 56 kB / 433.1 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.03138, allocations: 36 kB / 433.2 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.03307, allocations: 1.56 MB / 434.7 MB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1635/0.1966, allocations: 4.524 MB / 439.2 MB, free: 25.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.198, allocations: 1.097 MB / 440.3 MB, free: 25.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.1987, allocations: 0.5542 MB / 440.9 MB, free: 25.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/0.1988, allocations: 28.3 kB / 440.9 MB, free: 25.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1988, allocations: 50.75 kB / 441 MB, free: 25.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 3.436e-06/0.1988, allocations: 0 / 441 MB, free: 25.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=129): time 0.006019/0.2048, allocations: 3.071 MB / 444 MB, free: 24.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2048, allocations: 91.19 kB / 444.1 MB, free: 24.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.2053, allocations: 495.1 kB / 444.6 MB, free: 24.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.2053, allocations: 47.06 kB / 444.7 MB, free: 24.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.2055, allocations: 0.494 MB / 445.2 MB, free: 24.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.2057, allocations: 444.5 kB / 445.6 MB, free: 23.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.206, allocations: 228.5 kB / 445.8 MB, free: 23.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.2061, allocations: 383.1 kB / 446.2 MB, free: 23.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/0.2067, allocations: 462.4 kB / 446.6 MB, free: 23.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/0.2075, allocations: 0.7464 MB / 447.4 MB, free: 22.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.2088, allocations: 1.258 MB / 448.6 MB, free: 21.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.2088, allocations: 11 kB / 448.7 MB, free: 21.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001935/0.2107, allocations: 1.645 MB / 450.3 MB, free: 21.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.2107, allocations: 8.609 kB / 450.3 MB, free: 21.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.2108, allocations: 11.95 kB / 450.3 MB, free: 21.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/0.2118, allocations: 0.5288 MB / 450.8 MB, free: 21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.2122, allocations: 214.2 kB / 451.1 MB, free: 20.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001213/0.2123, allocations: 60.34 kB / 451.1 MB, free: 20.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.2127, allocations: 132.6 kB / 451.2 MB, free: 20.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.2128, allocations: 56.78 kB / 451.3 MB, free: 20.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0002844/0.2131, allocations: 273.3 kB / 451.6 MB, free: 20.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.2132, allocations: 92.81 kB / 451.7 MB, free: 20.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.2149, allocations: 1.557 MB / 453.2 MB, free: 19.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.2149, allocations: 14.22 kB / 453.2 MB, free: 19.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2149, allocations: 1.859 kB / 453.2 MB, free: 19.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.2149, allocations: 6.047 kB / 453.2 MB, free: 19.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.2177, allocations: 2.663 MB / 455.9 MB, free: 18.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2177, allocations: 0 / 455.9 MB, free: 18.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.218, allocations: 147.3 kB / 456 MB, free: 18.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008174/0.2188, allocations: 0.5132 MB / 456.6 MB, free: 18.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.2189, allocations: 31.7 kB / 456.6 MB, free: 18.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.266e-05/0.2189, allocations: 27.2 kB / 456.6 MB, free: 18.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2189, allocations: 1.406 kB / 456.6 MB, free: 18.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.2211, allocations: 2.276 MB / 458.9 MB, free: 17.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.2213, allocations: 218.9 kB / 459.1 MB, free: 17.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.2214, allocations: 22.73 kB / 459.1 MB, free: 17.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.2217, allocations: 45.53 kB / 459.2 MB, free: 17.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2218, allocations: 82.75 kB / 459.3 MB, free: 17.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.2218, allocations: 39.38 kB / 459.3 MB, free: 17.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001979/0.222, allocations: 324.4 kB / 459.6 MB, free: 16.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.222, allocations: 0 / 459.6 MB, free: 16.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005654/0.2226, allocations: 355.9 kB / 460 MB, free: 16.77 MB / 362.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 (86): * Single equations (assignments): 85 * 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.002252/0.2248, allocations: 2.882 MB / 462.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.2263, allocations: 1.299 MB / 464.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2263, allocations: 3.719 kB / 464.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.2271, allocations: 0.6736 MB / 464.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2275, allocations: 108 kB / 464.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007081/0.2346, allocations: 8.634 MB / 473.6 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2349, allocations: 460.8 kB / 474 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.2352, allocations: 120 kB / 474.1 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.2354, allocations: 401.2 kB / 474.5 MB, free: 6.207 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2354, allocations: 0 / 474.5 MB, free: 6.207 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.267, allocations: 21.69 MB / 496.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/8.595, allocations: 0 / 496.2 MB, free: 0.6484 MB / 378.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.re from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! Error: Could not read variable I.im in file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.im from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.698648030869663]