Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001734/0.001734, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001456/0.001456, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2297/0.2297, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 75.88 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3344, allocations: 66.03 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004098/0.3385, allocations: 2.42 MB / 0.5629 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3397, allocations: 0.6311 MB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.3398, allocations: 4 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.34, allocations: 43.58 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.3401, allocations: 71.33 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.3404, allocations: 83.83 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.3408, allocations: 290.8 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.3409, allocations: 66.39 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.3411, allocations: 131.5 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.3413, allocations: 95.48 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.3413, allocations: 24 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.3414, allocations: 28 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.3415, allocations: 51.83 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3416, allocations: 107.5 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.342, allocations: 294.7 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.342, allocations: 0 / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.342, allocations: 4 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.342, allocations: 0 / 0.5648 GB, free: 15.91 MB / 414.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.0008707/0.3428, allocations: 473.5 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3429, allocations: 11.97 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.899e-05/0.343, allocations: 62.72 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.3431, allocations: 36.78 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.3435, allocations: 194.1 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3435, allocations: 16.81 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.3436, allocations: 20.38 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.344, allocations: 276.5 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.344, allocations: 0 / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.3441, allocations: 8 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3441, allocations: 4 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.3444, allocations: 145.6 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.3457, allocations: 0.7134 MB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.3459, allocations: 102.4 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.346, allocations: 40.84 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.346, allocations: 0 / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3461, allocations: 34.56 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.3461, allocations: 0 / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001795/0.3478, allocations: 0.6505 MB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.3479, allocations: 51.41 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.3481, allocations: 210.9 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3481, allocations: 33.7 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.3483, allocations: 172.8 kB / 0.5679 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.3483, allocations: 67.47 kB / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.3484, allocations: 37.7 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3486, allocations: 338.7 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3488, allocations: 63.97 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.3489, allocations: 101.1 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.3493, allocations: 179.4 kB / 0.5687 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3493, allocations: 7.938 kB / 0.5687 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005543/0.3498, allocations: 274.9 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3498, allocations: 4 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3498, allocations: 4.156 kB / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.3501, allocations: 73.67 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3503, allocations: 35.91 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.3529, allocations: 2.791 MB / 0.5718 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.3531, allocations: 12.02 kB / 0.5718 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.3531, allocations: 8 kB / 0.5718 GB, free: 8.172 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.0001607/0.3533, allocations: 137.7 kB / 0.5719 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.3533, allocations: 19.91 kB / 0.572 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.3534, allocations: 25.8 kB / 0.572 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3534, allocations: 4 kB / 0.572 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3534, allocations: 4.062 kB / 0.572 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3534, allocations: 0 / 0.572 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.3537, allocations: 236.6 kB / 0.5722 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3537, allocations: 0 / 0.5722 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3538, allocations: 15.98 kB / 0.5722 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.354, allocations: 77.62 kB / 0.5723 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.354, allocations: 4 kB / 0.5723 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.3565, allocations: 2.783 MB / 0.575 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3565, allocations: 3.969 kB / 0.575 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006653/0.3571, allocations: 402.8 kB / 0.5754 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.3572, allocations: 23.88 kB / 0.5754 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3572, allocations: 4 kB / 0.5754 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3574, allocations: 15.98 kB / 0.5755 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.3574, allocations: 15.97 kB / 0.5755 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3575, allocations: 8 kB / 0.5755 GB, free: 4.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.3576, allocations: 148.6 kB / 0.5756 GB, free: 3.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3576, allocations: 0 / 0.5756 GB, free: 3.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.358, allocations: 68 kB / 0.5757 GB, free: 3.898 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.001032/0.359, allocations: 0.9197 MB / 0.5766 GB, free: 2.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007407/0.3598, allocations: 401.2 kB / 0.577 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3598, allocations: 0 / 0.577 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.3602, allocations: 329.2 kB / 0.5773 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3605, allocations: 31.09 kB / 0.5773 GB, free: 2.152 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.364, allocations: 2.491 MB / 0.5797 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3641, allocations: 142 kB / 0.5799 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.917e-05/0.3642, allocations: 17.95 kB / 0.5799 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3643, allocations: 67.41 kB / 0.58 GB, free: 15.3 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3643, allocations: 0 / 0.58 GB, free: 15.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.4044, allocations: 5.774 MB / 0.5856 GB, free: 9.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 6.438 kB / 0.5856 GB, free: 9.688 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.977352528367192]