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.001408/0.001408, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001419/0.001419, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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.021/1.021, allocations: 158.6 MB / 186.1 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] 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.1549/0.1549, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 347.6 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.927e-05/4.216e-05, allocations: 4.281 kB / 347.6 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002789/0.002831, allocations: 2.525 MB / 350.2 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008289/0.00366, allocations: 0.6319 MB / 350.8 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.003765, allocations: 4 kB / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.003891, allocations: 31.64 kB / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.989e-05/0.003981, allocations: 83.28 kB / 350.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.004198, allocations: 67.78 kB / 351 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.004419, allocations: 310.3 kB / 351.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.004575, allocations: 60.78 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.004759, allocations: 167.7 kB / 351.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.004864, allocations: 83.77 kB / 351.6 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.004905, allocations: 24 kB / 351.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.392e-05/0.004929, allocations: 28 kB / 351.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.004962, allocations: 59.7 kB / 351.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.005024, allocations: 87.81 kB / 351.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.005202, allocations: 183.3 kB / 352 MB, free: 5.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005206, allocations: 4 kB / 352 MB, free: 5.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005207, allocations: 0 / 352 MB, free: 5.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.005213, allocations: 0 / 352 MB, free: 5.469 MB / 282.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.0005047/0.005717, allocations: 0.5585 MB / 352.5 MB, free: 4.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.005759, allocations: 16.03 kB / 352.5 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.00583, allocations: 44.75 kB / 352.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.006023, allocations: 188.2 kB / 352.8 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.006034, allocations: 16.88 kB / 352.8 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.006066, allocations: 20.38 kB / 352.8 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.006303, allocations: 242.5 kB / 353 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.00631, allocations: 4.125 kB / 353 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.006327, allocations: 8.375 kB / 353.1 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.006344, allocations: 11.94 kB / 353.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.006457, allocations: 78.94 kB / 353.1 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.007144, allocations: 0.7221 MB / 353.9 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.007272, allocations: 86.98 kB / 353.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.007314, allocations: 31.67 kB / 354 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.007335, allocations: 0 / 354 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.007354, allocations: 37.39 kB / 354 MB, free: 3.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.007355, allocations: 0 / 354 MB, free: 3.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009091/0.008265, allocations: 0.5375 MB / 354.6 MB, free: 2.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.008283, allocations: 59.34 kB / 354.6 MB, free: 2.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.008402, allocations: 246.8 kB / 354.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.008413, allocations: 29.7 kB / 354.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.008467, allocations: 218.9 kB / 355.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.00849, allocations: 59.53 kB / 355.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.008535, allocations: 51.36 kB / 355.2 MB, free: 1.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.008582, allocations: 0.4961 MB / 355.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.00863, allocations: 27.97 kB / 355.7 MB, free: 1.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.008699, allocations: 98.03 kB / 355.8 MB, free: 1.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.008813, allocations: 133.1 kB / 356 MB, free: 1.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008815, allocations: 4 kB / 356 MB, free: 1.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002381/0.009053, allocations: 220.8 kB / 356.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.009066, allocations: 15.88 kB / 356.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.009072, allocations: 0 / 356.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.009298, allocations: 87.31 kB / 356.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.009381, allocations: 35.97 kB / 356.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.01134, allocations: 3.641 MB / 359.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.01141, allocations: 8.062 kB / 360 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.01143, allocations: 12.17 kB / 360 MB, free: 12.86 MB / 298.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 0.0001262/0.01155, allocations: 172.5 kB / 360.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.01159, allocations: 23.91 kB / 360.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.01162, allocations: 21.81 kB / 360.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.01163, allocations: 7.938 kB / 360.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.01163, allocations: 0 / 360.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.01164, allocations: 3.984 kB / 360.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.01185, allocations: 196.5 kB / 360.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.01185, allocations: 4 kB / 360.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.01189, allocations: 8 kB / 360.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.0121, allocations: 91.23 kB / 360.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01212, allocations: 8.047 kB / 360.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.01401, allocations: 3.645 MB / 364.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01402, allocations: 0 / 364.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.01443, allocations: 358.9 kB / 364.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.01445, allocations: 24.05 kB / 364.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.01447, allocations: 3.984 kB / 364.5 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.01455, allocations: 15.98 kB / 364.5 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.01461, allocations: 15.97 kB / 364.5 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.01462, allocations: 8 kB / 364.6 MB, free: 7.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.72e-05/0.0147, allocations: 179 kB / 364.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0147, allocations: 0 / 364.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.01494, allocations: 71.97 kB / 364.8 MB, free: 7.695 MB / 298.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.905e-05/0.01504, allocations: 99.19 kB / 364.9 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.01548, allocations: 470.2 kB / 365.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01548, allocations: 0 / 365.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.01572, allocations: 424.5 kB / 365.8 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01594, allocations: 27.92 kB / 365.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009527/0.0169, allocations: 483.3 kB / 366.3 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.986e-05/0.01697, allocations: 80.33 kB / 366.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.005e-05/0.01704, allocations: 25.56 kB / 366.4 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.01708, allocations: 20.48 kB / 366.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of SimCode: time 3.175e-06/0.01709, allocations: 0 / 366.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of Templates: time 0.004897/0.02198, allocations: 2.685 MB / 369.1 MB, free: 3.324 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2947096270509064]