Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00195/0.001951, allocations: 109.5 kB / 17.08 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 191.7 kB / 20.02 MB, free: 3.082 MB / 14.72 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 1.944/1.944, allocations: 205.1 MB / 227.9 MB, free: 4.348 MB / 174.1 MB " [Timeout remaining time 178] 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.3787/0.3787, allocations: 43.52 MB / 320.8 MB, free: 9.043 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 63.89 kB / 450 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3967, allocations: 57.78 MB / 0.4959 GB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00343/0.4002, allocations: 2.53 MB / 0.4983 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009061/0.4012, allocations: 0.6453 MB / 0.499 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.4013, allocations: 3.812 kB / 0.499 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.4014, allocations: 42.98 kB / 0.499 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.4015, allocations: 80.08 kB / 0.4991 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.4018, allocations: 62.33 kB / 0.4992 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.4021, allocations: 294.7 kB / 0.4994 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.4023, allocations: 82.19 kB / 0.4995 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.4025, allocations: 119.2 kB / 0.4996 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.4027, allocations: 117 kB / 0.4997 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.4028, allocations: 23.28 kB / 0.4998 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.4028, allocations: 22.25 kB / 0.4998 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.4029, allocations: 54.67 kB / 0.4998 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.403, allocations: 119.7 kB / 0.4999 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.4033, allocations: 290.8 kB / 0.5002 GB, free: 16.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4034, allocations: 0 / 0.5002 GB, free: 16.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4034, allocations: 1.312 kB / 0.5002 GB, free: 16.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.4034, allocations: 0 / 0.5002 GB, free: 16.04 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008352/0.4042, allocations: 0.5316 MB / 0.5007 GB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.4043, allocations: 13.77 kB / 0.5008 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.4043, allocations: 57.39 kB / 0.5008 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.4044, allocations: 30.44 kB / 0.5008 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.4048, allocations: 245.6 kB / 0.5011 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.4048, allocations: 16.72 kB / 0.5011 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.4049, allocations: 21.94 kB / 0.5011 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.4052, allocations: 190.7 kB / 0.5013 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4052, allocations: 0 / 0.5013 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.4053, allocations: 14.55 kB / 0.5013 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.4053, allocations: 8.938 kB / 0.5013 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.4055, allocations: 137.4 kB / 0.5014 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.4067, allocations: 0.8074 MB / 0.5022 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.4069, allocations: 95.39 kB / 0.5023 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.502e-05/0.407, allocations: 47.09 kB / 0.5024 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.407, allocations: 6.875 kB / 0.5024 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.407, allocations: 39.62 kB / 0.5024 GB, free: 14.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.407, allocations: 0 / 0.5024 GB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001615/0.4086, allocations: 0.7319 MB / 0.5031 GB, free: 13.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.4087, allocations: 52.78 kB / 0.5032 GB, free: 13.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.4089, allocations: 210.8 kB / 0.5034 GB, free: 13.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4089, allocations: 26.86 kB / 0.5034 GB, free: 13.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.409, allocations: 177.2 kB / 0.5036 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.409, allocations: 57.98 kB / 0.5036 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.4091, allocations: 48.62 kB / 0.5037 GB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.772e-05/0.4091, allocations: 330.6 kB / 0.504 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4093, allocations: 59.94 kB / 0.5041 GB, free: 12.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4094, allocations: 107.7 kB / 0.5042 GB, free: 12.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.4097, allocations: 168 kB / 0.5043 GB, free: 12.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.4097, allocations: 5.125 kB / 0.5043 GB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004738/0.4102, allocations: 281.8 kB / 0.5046 GB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4102, allocations: 6.156 kB / 0.5046 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4102, allocations: 1.562 kB / 0.5046 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.4105, allocations: 79.09 kB / 0.5047 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.4106, allocations: 27.7 kB / 0.5047 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.4124, allocations: 3.014 MB / 0.5076 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.4126, allocations: 8.594 kB / 0.5077 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.4126, allocations: 14.84 kB / 0.5077 GB, free: 9.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.4127, allocations: 139.8 kB / 0.5078 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.4128, allocations: 25.95 kB / 0.5078 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.4128, allocations: 22.03 kB / 0.5078 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4128, allocations: 1.125 kB / 0.5078 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4128, allocations: 2.062 kB / 0.5078 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4129, allocations: 3.984 kB / 0.5079 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.4131, allocations: 284.2 kB / 0.5081 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4131, allocations: 0 / 0.5081 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-05/0.4132, allocations: 19.95 kB / 0.5081 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.4134, allocations: 73.53 kB / 0.5082 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4134, allocations: 5.375 kB / 0.5082 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.4149, allocations: 3.007 MB / 0.5112 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4149, allocations: 0 / 0.5112 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.4154, allocations: 403.1 kB / 0.5115 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.4155, allocations: 98.09 kB / 0.5116 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.4155, allocations: 1.25 kB / 0.5116 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4157, allocations: 18.27 kB / 0.5116 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.4158, allocations: 10.77 kB / 0.5117 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.4158, allocations: 11.52 kB / 0.5117 GB, free: 5.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.4159, allocations: 152.2 kB / 0.5118 GB, free: 5.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4159, allocations: 5.219 kB / 0.5118 GB, free: 5.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.4163, allocations: 63.53 kB / 0.5119 GB, free: 5.203 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008022/0.4171, allocations: 0.9324 MB / 0.5128 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006152/0.4177, allocations: 405.3 kB / 0.5132 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4177, allocations: 384 / 0.5132 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.4181, allocations: 340 kB / 0.5135 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.4184, allocations: 27.08 kB / 0.5135 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.4212, allocations: 2.481 MB / 0.516 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.4214, allocations: 0.7469 MB / 0.5167 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.596e-05/0.4215, allocations: 17.27 kB / 0.5167 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.4216, allocations: 67.84 kB / 0.5168 GB, free: 1.012 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4216, allocations: 0 / 0.5168 GB, free: 1.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.4574, allocations: 4.997 MB / 0.5216 GB, free: 14.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.869/10.33, allocations: 9.125 kB / 0.5217 GB, free: 14.33 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i2 in file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.942388619994745]