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.00133/0.00133, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00178/0.00178, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2209/0.2209, allocations: 46.94 MB / 360.9 MB, free: 4.25 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.002034/0.002034, allocations: 67.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3227, allocations: 66.04 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.0101/0.3328, allocations: 7.799 MB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.3377, allocations: 2.443 MB / 0.5707 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007465/0.3385, allocations: 35.94 kB / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004284/0.3428, allocations: 1.828 MB / 0.5725 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.345, allocations: 0.7106 MB / 0.5732 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.3474, allocations: 1.085 MB / 0.5742 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.3495, allocations: 1.42 MB / 0.5756 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.3509, allocations: 0.934 MB / 0.5765 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008387/0.3517, allocations: 0.6228 MB / 0.5771 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009108/0.3527, allocations: 0.7275 MB / 0.5778 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.3528, allocations: 112 kB / 0.578 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.3536, allocations: 339.8 kB / 0.5783 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.3539, allocations: 291 kB / 0.5786 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006497/0.3545, allocations: 0.6569 MB / 0.5792 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.3569, allocations: 1.774 MB / 0.5809 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3569, allocations: 7.938 kB / 0.5809 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3569, allocations: 0 / 0.5809 GB, free: 15.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.347e-05/0.3569, allocations: 0 / 0.5809 GB, free: 15.62 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.007636/0.3645, allocations: 2.338 MB / 0.5832 GB, free: 13.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3646, allocations: 8.031 kB / 0.5832 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/0.3648, allocations: 198.6 kB / 0.5834 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009773/0.3746, allocations: 1.331 MB / 0.5847 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.3758, allocations: 0.5607 MB / 0.5853 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.3759, allocations: 95.02 kB / 0.5854 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.3762, allocations: 140.1 kB / 0.5855 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.3789, allocations: 1.487 MB / 0.5869 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.3789, allocations: 11.95 kB / 0.587 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.379, allocations: 52 kB / 0.587 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.3791, allocations: 36 kB / 0.587 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002803/0.3819, allocations: 1.517 MB / 0.5885 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00851/0.3904, allocations: 5.057 MB / 0.5935 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.3924, allocations: 1.072 MB / 0.5945 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009895/0.3934, allocations: 0.5421 MB / 0.595 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.3936, allocations: 44.95 kB / 0.5951 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/0.3936, allocations: 51.5 kB / 0.5951 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.146e-06/0.3936, allocations: 4 kB / 0.5951 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009207/0.4028, allocations: 2.998 MB / 0.5981 GB, free: 13.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.4029, allocations: 94.14 kB / 0.5981 GB, free: 13.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.4035, allocations: 465.9 kB / 0.5986 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.4036, allocations: 45.7 kB / 0.5986 GB, free: 13.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.404, allocations: 472.9 kB / 0.5991 GB, free: 12.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.4044, allocations: 452.1 kB / 0.5995 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.4047, allocations: 222.8 kB / 0.5997 GB, free: 11.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.4049, allocations: 374.8 kB / 0.6001 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009211/0.4058, allocations: 462.4 kB / 0.6005 GB, free: 11.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.407, allocations: 0.6958 MB / 0.6012 GB, free: 10.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.409, allocations: 1.206 MB / 0.6024 GB, free: 9.055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.409, allocations: 8 kB / 0.6024 GB, free: 9.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003129/0.4122, allocations: 1.578 MB / 0.6039 GB, free: 7.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4122, allocations: 8 kB / 0.6039 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.4122, allocations: 4 kB / 0.6039 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.4138, allocations: 0.532 MB / 0.6045 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/0.4146, allocations: 199.6 kB / 0.6047 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001992/0.4148, allocations: 65.08 kB / 0.6047 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.4155, allocations: 119.1 kB / 0.6048 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.4156, allocations: 55.98 kB / 0.6049 GB, free: 6.48 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.0004876/0.4161, allocations: 265.6 kB / 0.6051 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.4162, allocations: 83.48 kB / 0.6052 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.4192, allocations: 1.548 MB / 0.6067 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.4192, allocations: 15.94 kB / 0.6067 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4192, allocations: 0 / 0.6067 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4192, allocations: 3.984 kB / 0.6067 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/0.4242, allocations: 2.82 MB / 0.6095 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4242, allocations: 7.922 kB / 0.6095 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.4249, allocations: 143.8 kB / 0.6096 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.4266, allocations: 0.5145 MB / 0.6101 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/0.4267, allocations: 31.98 kB / 0.6102 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003287/0.427, allocations: 72.73 kB / 0.6102 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.427, allocations: 0 / 0.6102 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/0.4313, allocations: 2.322 MB / 0.6125 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000517/0.4318, allocations: 207 kB / 0.6127 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.4319, allocations: 27.94 kB / 0.6127 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.4326, allocations: 39.98 kB / 0.6128 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.4328, allocations: 85.2 kB / 0.6129 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/0.4329, allocations: 36 kB / 0.6129 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004028/0.4333, allocations: 310.9 kB / 0.6132 GB, free: 13.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4333, allocations: 0 / 0.6132 GB, free: 13.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001052/0.4343, allocations: 355.2 kB / 0.6135 GB, free: 13.51 MB / 462.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.004682/0.439, allocations: 2.924 MB / 0.6164 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.4422, allocations: 1.276 MB / 0.6176 GB, free: 9.277 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.4422, allocations: 1.312 kB / 0.6176 GB, free: 9.277 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.444, allocations: 0.6879 MB / 0.6183 GB, free: 8.586 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/0.4449, allocations: 89.89 kB / 0.6184 GB, free: 8.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.4592, allocations: 8.401 MB / 0.6266 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.46, allocations: 1.047 MB / 0.6276 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000445/0.4604, allocations: 110.7 kB / 0.6277 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.4609, allocations: 391.3 kB / 0.6281 GB, free: 14.24 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4609, allocations: 0 / 0.6281 GB, free: 14.24 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06142/0.5223, allocations: 23.26 MB / 0.6508 GB, free: 7.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.63, allocations: 13.09 kB / 0.6508 GB, free: 7.176 MB / 494.1 MB " [Timeout remaining time 645] (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.808081374998437]