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.001481/0.001481, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001402/0.001402, allocations: 166.5 kB / 25.61 MB, free: 8.492 MB / 18.57 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.006/1.006, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.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.1602/0.1602, allocations: 32.8 MB / 295.4 MB, free: 15.4 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 1.764e-06/1.764e-06, allocations: 0 / 377.2 MB, free: 25.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.299e-05, allocations: 2.312 kB / 377.2 MB, free: 25.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002477/0.0025, allocations: 2.569 MB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.003542, allocations: 0.6544 MB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.003674, allocations: 7.938 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.003823, allocations: 35.64 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.003916, allocations: 75.28 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.004171, allocations: 87.8 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.004367, allocations: 298.6 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.004501, allocations: 73.64 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.004691, allocations: 171.6 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.004789, allocations: 91.75 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.004815, allocations: 24 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.385e-05/0.004869, allocations: 28 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.004899, allocations: 55.77 kB / 381.4 MB, free: 21.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.004958, allocations: 95.8 kB / 381.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.005147, allocations: 199.2 kB / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005149, allocations: 4 kB / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00515, allocations: 0 / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005154, allocations: 0 / 381.7 MB, free: 21.18 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.000511/0.005665, allocations: 0.5663 MB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.005708, allocations: 15.98 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.005857, allocations: 52.75 kB / 382.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.006061, allocations: 200.2 kB / 382.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.006077, allocations: 16.88 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.006109, allocations: 24.31 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.006298, allocations: 222.5 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006307, allocations: 192 / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.006324, allocations: 12.38 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.006331, allocations: 7.938 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.349e-05/0.006405, allocations: 63.44 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.007034, allocations: 0.6953 MB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.007147, allocations: 91.02 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.007181, allocations: 47.47 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.007195, allocations: 4 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.007211, allocations: 33.39 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.007213, allocations: 224 / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003277/0.00754, allocations: 157 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.00756, allocations: 55.41 kB / 383.9 MB, free: 18.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.00767, allocations: 246.1 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.007682, allocations: 29.7 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.007764, allocations: 211 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.007793, allocations: 47.56 kB / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.007851, allocations: 47.3 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.007938, allocations: 0.4962 MB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.007977, allocations: 15.98 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.598e-05/0.008043, allocations: 74.39 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.008174, allocations: 124.6 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.008177, allocations: 4 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001844/0.008362, allocations: 157 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.008374, allocations: 8 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008379, allocations: 0 / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.008512, allocations: 31.66 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.008599, allocations: 36.05 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005807/0.00918, allocations: 1.729 MB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.00924, allocations: 19.83 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.009248, allocations: 4 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: basicTransformer.i2:VARIABLE(start = 0.0 unit = \"A\" fixed = true ) \"Current flowing from pos. to neg. pin of port 2\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.009358, allocations: 168.7 kB / 387.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.009387, allocations: 23.91 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.009408, allocations: 21.45 kB / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.009409, allocations: 0 / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.009413, allocations: 7.984 kB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.009416, allocations: 0 / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.009533, allocations: 165 kB / 387.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009535, allocations: 0 / 387.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.009577, allocations: 23.92 kB / 387.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.77e-05/0.009664, allocations: 35.66 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.009672, allocations: 0 / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004963/0.01017, allocations: 1.717 MB / 389.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01017, allocations: 11.95 kB / 389.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.01034, allocations: 291.4 kB / 389.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.01036, allocations: 15.86 kB / 389.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.01037, allocations: 7.875 kB / 389.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.01044, allocations: 15.98 kB / 389.7 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.01047, allocations: 7.984 kB / 389.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.01048, allocations: 4 kB / 389.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.01053, allocations: 174.9 kB / 389.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01053, allocations: 4.031 kB / 389.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.01071, allocations: 55.89 kB / 389.9 MB, free: 12.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (basicTransformer.i1,basicTransformer.i2) * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.412e-05/0.01078, allocations: 103.2 kB / 390 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.01103, allocations: 250.1 kB / 390.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01103, allocations: 0 / 390.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.01121, allocations: 221.6 kB / 390.5 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.01142, allocations: 27.98 kB / 390.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.01209, allocations: 486.7 kB / 391 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.398e-05/0.01212, allocations: 79.98 kB / 391 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.454e-05/0.01217, allocations: 17.47 kB / 391.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.01224, allocations: 98.19 kB / 391.2 MB, free: 11 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01225, allocations: 0 / 391.2 MB, free: 11 MB / 314.7 MB Notification: Performance of Templates: time 0.003715/0.01596, allocations: 2.155 MB / 393.3 MB, free: 8.883 MB / 314.7 MB " [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 -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.29652342107147]