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.001271/0.001271, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001793/0.003064, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001145/0.001145, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009944/0.002139, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.103/1.103, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1241/1.227, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.3317/0.3317, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02353/0.3552, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.7 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.878e-06/3.878e-06, allocations: 0 / 309.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.914e-05, allocations: 4.281 kB / 309.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003924/0.003953, allocations: 2.631 MB / 312.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.005036, allocations: 0.6811 MB / 313 MB, free: 1.062 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.005123, allocations: 11.92 kB / 313 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.351e-05/0.005186, allocations: 35.64 kB / 313.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.005288, allocations: 71.3 kB / 313.1 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.005451, allocations: 87.81 kB / 313.2 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.005653, allocations: 306.5 kB / 313.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.00574, allocations: 62.69 kB / 313.6 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.006058, allocations: 195.6 kB / 313.8 MB, free: 312 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.006146, allocations: 83.72 kB / 313.9 MB, free: 228 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.00617, allocations: 24 kB / 313.9 MB, free: 204 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.00621, allocations: 31.98 kB / 313.9 MB, free: 172 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.006234, allocations: 39.88 kB / 313.9 MB, free: 132 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.006289, allocations: 71.88 kB / 314 MB, free: 60 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.006478, allocations: 175.4 kB / 314.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.006481, allocations: 4 kB / 314.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.006482, allocations: 0 / 314.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.006487, allocations: 0 / 314.2 MB, free: 15.88 MB / 314.7 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.0004223/0.006909, allocations: 0.4918 MB / 314.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.41e-05/0.006933, allocations: 8.031 kB / 314.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.00704, allocations: 51.89 kB / 314.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.007197, allocations: 176.7 kB / 314.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.007208, allocations: 12.5 kB / 314.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.007229, allocations: 24 kB / 314.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.007388, allocations: 229.9 kB / 315.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-06/0.007392, allocations: 0 / 315.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.007403, allocations: 8 kB / 315.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.007408, allocations: 4 kB / 315.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.007469, allocations: 51.48 kB / 315.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.008032, allocations: 0.5669 MB / 315.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.609e-05/0.008108, allocations: 66.53 kB / 315.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.008134, allocations: 28.86 kB / 315.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.008144, allocations: 7.922 kB / 315.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.008163, allocations: 38.69 kB / 315.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.008165, allocations: 0 / 315.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008948/0.00906, allocations: 0.5192 MB / 316.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.009082, allocations: 59.34 kB / 316.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.009176, allocations: 188.4 kB / 316.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.009189, allocations: 33.7 kB / 316.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.009245, allocations: 168.2 kB / 316.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.009273, allocations: 55.52 kB / 317 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.009321, allocations: 49.58 kB / 317 MB, free: 12.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.009553, allocations: 330.8 kB / 317.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.009581, allocations: 19.98 kB / 317.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.009637, allocations: 63.09 kB / 317.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.009731, allocations: 111.4 kB / 317.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009732, allocations: 0 / 317.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001864/0.009919, allocations: 167 kB / 317.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.009928, allocations: 4 kB / 317.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.009933, allocations: 4 kB / 317.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.0101, allocations: 81.8 kB / 317.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.01018, allocations: 39.91 kB / 317.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.01133, allocations: 2.463 MB / 320.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.01139, allocations: 8 kB / 320.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.0114, allocations: 4 kB / 320.3 MB, free: 9.336 MB / 314.7 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 7.577e-05/0.01148, allocations: 121.8 kB / 320.4 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.0115, allocations: 27.97 kB / 320.4 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.01152, allocations: 21.81 kB / 320.4 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.01152, allocations: 0 / 320.4 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.01153, allocations: 4 kB / 320.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01154, allocations: 3.984 kB / 320.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.01168, allocations: 129.9 kB / 320.6 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01169, allocations: 4 kB / 320.6 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.01173, allocations: 19.98 kB / 320.6 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.01175, allocations: 23.78 kB / 320.6 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.0119, allocations: 77.66 kB / 320.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.01191, allocations: 4 kB / 320.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.013, allocations: 2.471 MB / 323.2 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.013, allocations: 3.938 kB / 323.2 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.01321, allocations: 256.1 kB / 323.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.01322, allocations: 0 / 323.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.01329, allocations: 20.08 kB / 323.5 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.01333, allocations: 19.91 kB / 323.5 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01334, allocations: 4 kB / 323.5 MB, free: 5.918 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.01338, allocations: 64.59 kB / 323.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01338, allocations: 0 / 323.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.01359, allocations: 64 kB / 323.6 MB, free: 5.789 MB / 314.7 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 9.017e-05/0.01368, allocations: 84.36 kB / 323.7 MB, free: 5.699 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.01398, allocations: 339.2 kB / 324 MB, free: 5.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.01399, allocations: 4 kB / 324 MB, free: 5.336 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.01433, allocations: 301.9 kB / 324.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.0145, allocations: 40.34 kB / 324.4 MB, free: 4.973 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.01667, allocations: 497.5 kB / 324.8 MB, free: 4.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.508e-05/0.01672, allocations: 92.3 kB / 324.9 MB, free: 4.348 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.01678, allocations: 9.656 kB / 324.9 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.01686, allocations: 79.34 kB / 325 MB, free: 4.262 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01686, allocations: 7.875 kB / 325 MB, free: 4.254 MB / 314.7 MB Notification: Performance of Templates: time 0.004938/0.0218, allocations: 2.944 MB / 328 MB, free: 1.352 MB / 314.7 MB Notification: Evaluated the parameters basicTransformer.L1, basicTransformer.M, basicTransformer.L2, since an equation would be solved by dividing by zero otherwise. Changing them requires recompiling the model. " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.299985859543085]