Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001335/0.001335, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001437/0.001437, allocations: 213.3 kB / 23.75 MB, free: 4.668 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 / 257.5 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2474/0.2474, allocations: 44.92 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002725/0.002725, allocations: 63.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4468, allocations: 65.47 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004533/0.4514, allocations: 2.608 MB / 0.5595 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.4526, allocations: 0.6816 MB / 0.5602 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.4528, allocations: 7.938 kB / 0.5602 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.4529, allocations: 35.64 kB / 0.5603 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.453, allocations: 79.27 kB / 0.5603 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.4533, allocations: 75.91 kB / 0.5604 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.4537, allocations: 298.7 kB / 0.5607 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.4539, allocations: 70.39 kB / 0.5608 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.4542, allocations: 123.5 kB / 0.5609 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.4544, allocations: 111.5 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.4545, allocations: 24 kB / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.143e-05/0.4546, allocations: 31.98 kB / 0.561 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.4546, allocations: 51.78 kB / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.4548, allocations: 123.4 kB / 0.5612 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.4552, allocations: 290.8 kB / 0.5615 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/0.4553, allocations: 4 kB / 0.5615 GB, free: 3.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4553, allocations: 0 / 0.5615 GB, free: 3.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.4553, allocations: 0 / 0.5615 GB, free: 3.156 MB / 398.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.000927/0.4562, allocations: 477.5 kB / 0.5619 GB, free: 2.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4563, allocations: 12.02 kB / 0.5619 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.4563, allocations: 54.73 kB / 0.562 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.4565, allocations: 40.78 kB / 0.562 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.4569, allocations: 190.1 kB / 0.5622 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.4569, allocations: 20.75 kB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.457, allocations: 20.38 kB / 0.5623 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.4574, allocations: 199.3 kB / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4574, allocations: 0 / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.4574, allocations: 4 kB / 0.5625 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4574, allocations: 12 kB / 0.5625 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.4577, allocations: 141.7 kB / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.4591, allocations: 0.7641 MB / 0.5633 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.4593, allocations: 94.42 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4594, allocations: 44.84 kB / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.4595, allocations: 0 / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.4595, allocations: 42.5 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.4595, allocations: 0 / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001842/0.4613, allocations: 0.6465 MB / 0.5642 GB, free: 224 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.4614, allocations: 55.41 kB / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.4616, allocations: 216 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.4617, allocations: 25.7 kB / 0.5644 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4618, allocations: 176.2 kB / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.4618, allocations: 59.47 kB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.4619, allocations: 49.66 kB / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4621, allocations: 330.8 kB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.4622, allocations: 55.97 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.4624, allocations: 113 kB / 0.5652 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.4628, allocations: 167.3 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4628, allocations: 4 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005409/0.4633, allocations: 280.3 kB / 0.5656 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4633, allocations: 8 kB / 0.5656 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4633, allocations: 0 / 0.5656 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.4636, allocations: 73.83 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.4638, allocations: 35.92 kB / 0.5657 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.4664, allocations: 2.822 MB / 0.5685 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.4665, allocations: 8.031 kB / 0.5685 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.4665, allocations: 15.98 kB / 0.5685 GB, free: 11.43 MB / 414.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.0001771/0.4667, allocations: 137.7 kB / 0.5686 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.4667, allocations: 19.97 kB / 0.5687 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.4668, allocations: 25.75 kB / 0.5687 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4668, allocations: 4 kB / 0.5687 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4668, allocations: 0 / 0.5687 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4668, allocations: 3.984 kB / 0.5687 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.4672, allocations: 256.5 kB / 0.5689 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4672, allocations: 0.6562 kB / 0.5689 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/0.4672, allocations: 15.98 kB / 0.5689 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.4674, allocations: 73.66 kB / 0.569 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.4675, allocations: 4 kB / 0.569 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.47, allocations: 2.802 MB / 0.5718 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.47, allocations: 0 / 0.5718 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.4706, allocations: 400.9 kB / 0.5721 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.4707, allocations: 19.86 kB / 0.5722 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4707, allocations: 4 kB / 0.5722 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.4709, allocations: 15.98 kB / 0.5722 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.4709, allocations: 19.91 kB / 0.5722 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.471, allocations: 4 kB / 0.5722 GB, free: 7.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.4711, allocations: 152.6 kB / 0.5723 GB, free: 7.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4711, allocations: 4.062 kB / 0.5723 GB, free: 7.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003767/0.4715, allocations: 64 kB / 0.5724 GB, free: 7.117 MB / 414.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.001003/0.4725, allocations: 0.9238 MB / 0.5733 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006969/0.4732, allocations: 397.1 kB / 0.5737 GB, free: 5.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4732, allocations: 384 / 0.5737 GB, free: 5.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.4737, allocations: 325.3 kB / 0.574 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.474, allocations: 20.03 kB / 0.574 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.4776, allocations: 2.505 MB / 0.5765 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.478, allocations: 0.748 MB / 0.5772 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.239e-05/0.4781, allocations: 21.94 kB / 0.5772 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.4782, allocations: 67.41 kB / 0.5773 GB, free: 1.906 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4782, allocations: 0 / 0.5773 GB, free: 1.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04241/0.5207, allocations: 5.235 MB / 0.5824 GB, free: 12.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.22, allocations: 3.938 kB / 0.5824 GB, free: 12.81 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 15.347345320042223]