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.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.002427/0.002427, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.003468/0.003468, allocations: 203 kB / 20.79 MB, free: 2.297 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.828/1.828, allocations: 207.6 MB / 231.2 MB, free: 4.125 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.3812/0.3812, allocations: 44.23 MB / 327.3 MB, free: 6.676 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.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.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 71.89 kB / 462.9 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3948, allocations: 61.01 MB / 0.5116 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004213/0.399, allocations: 2.529 MB / 0.5141 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.4004, allocations: 0.6521 MB / 0.5147 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.4007, allocations: 10.59 kB / 0.5147 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.4009, allocations: 37.14 kB / 0.5148 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.4011, allocations: 73.98 kB / 0.5148 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.4013, allocations: 68.81 kB / 0.5149 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000393/0.4017, allocations: 288.5 kB / 0.5152 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.4019, allocations: 67.95 kB / 0.5152 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.4021, allocations: 121.9 kB / 0.5154 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.4023, allocations: 120.6 kB / 0.5155 GB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.4024, allocations: 22.5 kB / 0.5155 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.439e-05/0.4024, allocations: 23.47 kB / 0.5155 GB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.4025, allocations: 50.03 kB / 0.5156 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.4026, allocations: 132 kB / 0.5157 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.4029, allocations: 277.6 kB / 0.516 GB, free: 9.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4029, allocations: 1.812 kB / 0.516 GB, free: 9.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4029, allocations: 0 / 0.516 GB, free: 9.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.4029, allocations: 0 / 0.516 GB, free: 9.676 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.000875/0.4038, allocations: 0.5363 MB / 0.5165 GB, free: 9.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4039, allocations: 17.47 kB / 0.5165 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.505e-05/0.4039, allocations: 4.75 kB / 0.5165 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.4039, allocations: 58.98 kB / 0.5166 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.404, allocations: 26.55 kB / 0.5166 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.4044, allocations: 255.7 kB / 0.5168 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4044, allocations: 13.06 kB / 0.5168 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.4045, allocations: 22.12 kB / 0.5169 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.4049, allocations: 194.8 kB / 0.5171 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4049, allocations: 0 / 0.5171 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.4049, allocations: 6.75 kB / 0.5171 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.4049, allocations: 4.125 kB / 0.5171 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.4052, allocations: 141.3 kB / 0.5172 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.4065, allocations: 0.8078 MB / 0.518 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4066, allocations: 89.95 kB / 0.5181 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.4067, allocations: 45.06 kB / 0.5181 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.4067, allocations: 9.109 kB / 0.5181 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.4068, allocations: 31.88 kB / 0.5182 GB, free: 7.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.4068, allocations: 1 kB / 0.5182 GB, free: 7.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001689/0.4085, allocations: 0.7306 MB / 0.5189 GB, free: 7.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.4085, allocations: 56.72 kB / 0.5189 GB, free: 7.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.4087, allocations: 215.8 kB / 0.5191 GB, free: 7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.4087, allocations: 29.7 kB / 0.5192 GB, free: 6.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.4087, allocations: 168.1 kB / 0.5193 GB, free: 6.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.4088, allocations: 59.42 kB / 0.5194 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.4088, allocations: 45.66 kB / 0.5194 GB, free: 6.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.4089, allocations: 338.8 kB / 0.5197 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.409, allocations: 59.97 kB / 0.5198 GB, free: 6.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.4091, allocations: 101.8 kB / 0.5199 GB, free: 6.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.4094, allocations: 176 kB / 0.5201 GB, free: 5.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4094, allocations: 0 / 0.5201 GB, free: 5.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004354/0.4098, allocations: 278.9 kB / 0.5203 GB, free: 5.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4098, allocations: 4 kB / 0.5203 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4098, allocations: 0 / 0.5203 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.4101, allocations: 73.61 kB / 0.5204 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4102, allocations: 36.12 kB / 0.5204 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.4119, allocations: 3.021 MB / 0.5234 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.412, allocations: 12.02 kB / 0.5234 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.412, allocations: 8 kB / 0.5234 GB, free: 2.262 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.0001058/0.4121, allocations: 141.7 kB / 0.5235 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.4122, allocations: 19.86 kB / 0.5236 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.4122, allocations: 21.86 kB / 0.5236 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4122, allocations: 4 kB / 0.5236 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4122, allocations: 4.062 kB / 0.5236 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4122, allocations: 0 / 0.5236 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.4125, allocations: 289.5 kB / 0.5239 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4125, allocations: 0 / 0.5239 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.4126, allocations: 15.98 kB / 0.5239 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.4127, allocations: 65.67 kB / 0.5239 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4127, allocations: 4 kB / 0.5239 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.4148, allocations: 3.013 MB / 0.5269 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4148, allocations: 8 kB / 0.5269 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006903/0.4155, allocations: 392.8 kB / 0.5273 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.4156, allocations: 92.98 kB / 0.5274 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.4156, allocations: 4 kB / 0.5274 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4158, allocations: 20.05 kB / 0.5274 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.4158, allocations: 19.97 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.4158, allocations: 0 / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.416, allocations: 157.5 kB / 0.5276 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.416, allocations: 0 / 0.5276 GB, free: 13.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.4164, allocations: 64 kB / 0.5276 GB, free: 13.56 MB / 398.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.001018/0.4174, allocations: 0.9285 MB / 0.5285 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007274/0.4181, allocations: 397.2 kB / 0.5289 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4181, allocations: 4 kB / 0.5289 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.4186, allocations: 327.8 kB / 0.5292 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.419, allocations: 38.5 kB / 0.5293 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.4225, allocations: 2.469 MB / 0.5317 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.423, allocations: 0.7402 MB / 0.5324 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.396e-05/0.4231, allocations: 21.92 kB / 0.5324 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4232, allocations: 63.42 kB / 0.5325 GB, free: 8.363 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4232, allocations: 7.938 kB / 0.5325 GB, free: 8.355 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.4587, allocations: 5.068 MB / 0.5374 GB, free: 3.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.84, allocations: 12 kB / 0.5374 GB, free: 3.27 MB / 398.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.39262747898465]