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.00169/0.00169, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002431/0.002431, allocations: 201.2 kB / 24.52 MB, free: 4.156 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.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2504/0.2504, allocations: 44.91 MB / 359.6 MB, free: 6.285 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="cs",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.003289/0.003289, allocations: 63.91 kB / 0.4938 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4116, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004089/0.4157, allocations: 2.606 MB / 0.5603 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4169, allocations: 0.6817 MB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.417, allocations: 4 kB / 0.561 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.4172, allocations: 39.58 kB / 0.561 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.4173, allocations: 71.34 kB / 0.5611 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.4176, allocations: 71.84 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.418, allocations: 302.7 kB / 0.5614 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.4181, allocations: 66.39 kB / 0.5615 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.4184, allocations: 123.6 kB / 0.5616 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.4186, allocations: 127.4 kB / 0.5617 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.4186, allocations: 24 kB / 0.5618 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.4187, allocations: 24 kB / 0.5618 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.4187, allocations: 47.84 kB / 0.5618 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.4189, allocations: 131.4 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.4192, allocations: 286.8 kB / 0.5622 GB, free: 3.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4192, allocations: 0 / 0.5622 GB, free: 3.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4192, allocations: 0 / 0.5622 GB, free: 3.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4192, allocations: 0 / 0.5622 GB, free: 3.172 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.0008416/0.4201, allocations: 481.5 kB / 0.5627 GB, free: 2.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4201, allocations: 8.031 kB / 0.5627 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.37e-05/0.4201, allocations: 12.62 kB / 0.5627 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.4202, allocations: 50.73 kB / 0.5628 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.4204, allocations: 36.78 kB / 0.5628 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.4208, allocations: 202 kB / 0.563 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.4208, allocations: 20.75 kB / 0.563 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.4208, allocations: 20.38 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.4212, allocations: 195.2 kB / 0.5632 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4212, allocations: 0 / 0.5632 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.4212, allocations: 11.92 kB / 0.5632 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4213, allocations: 11.98 kB / 0.5632 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.4216, allocations: 141.7 kB / 0.5634 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.4229, allocations: 0.7679 MB / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.4231, allocations: 90.55 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4232, allocations: 44.97 kB / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.4232, allocations: 0 / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4232, allocations: 38.56 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.4232, allocations: 0 / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001804/0.4251, allocations: 0.6464 MB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.4251, allocations: 55.41 kB / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.4254, allocations: 212 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.4254, allocations: 29.7 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.4256, allocations: 168.2 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.4256, allocations: 59.44 kB / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-05/0.4257, allocations: 53.66 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4259, allocations: 334.8 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.4261, allocations: 59.97 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.4263, allocations: 97.12 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.4266, allocations: 179.2 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4266, allocations: 0 / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005839/0.4272, allocations: 276.3 kB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4272, allocations: 8 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4272, allocations: 0 / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.4275, allocations: 77.83 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.4277, allocations: 31.97 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/0.4305, allocations: 2.818 MB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.4307, allocations: 12.02 kB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4307, allocations: 8 kB / 0.5693 GB, free: 11.44 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.0001833/0.4309, allocations: 137.7 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.4309, allocations: 15.91 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.431, allocations: 33.8 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.431, allocations: 4 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.431, allocations: 3.938 kB / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.431, allocations: 0 / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.4313, allocations: 264.5 kB / 0.5697 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4313, allocations: 192 / 0.5697 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.443e-05/0.4314, allocations: 19.98 kB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.4316, allocations: 69.61 kB / 0.5698 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.4317, allocations: 8 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.4342, allocations: 2.79 MB / 0.5725 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4342, allocations: 4 kB / 0.5725 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.4349, allocations: 407.1 kB / 0.5729 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.4349, allocations: 12.06 kB / 0.5729 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.435, allocations: 8 kB / 0.5729 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.4351, allocations: 16.12 kB / 0.5729 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.4352, allocations: 19.95 kB / 0.573 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4352, allocations: 4 kB / 0.573 GB, free: 7.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.4354, allocations: 156.6 kB / 0.5731 GB, free: 7.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4354, allocations: 0 / 0.5731 GB, free: 7.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.4358, allocations: 64 kB / 0.5732 GB, free: 7.125 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.4368, allocations: 0.9246 MB / 0.5741 GB, free: 6.164 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007321/0.4375, allocations: 396 kB / 0.5745 GB, free: 5.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4375, allocations: 0 / 0.5745 GB, free: 5.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.438, allocations: 333.6 kB / 0.5748 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.0003396/0.4383, allocations: 16 kB / 0.5748 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.442, allocations: 2.507 MB / 0.5772 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.4424, allocations: 0.744 MB / 0.578 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.313e-05/0.4425, allocations: 13.95 kB / 0.578 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4427, allocations: 75.34 kB / 0.5781 GB, free: 1.91 MB / 414.1 MB Notification: Performance of SimCode: time 2.023e-06/0.4427, allocations: 0 / 0.5781 GB, free: 1.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.475, allocations: 5.268 MB / 0.5832 GB, free: 12.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.32, allocations: 6.656 kB / 0.5832 GB, free: 12.8 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.678574511955958]