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.001051/0.001051, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001407/0.001407, allocations: 165.3 kB / 23.8 MB, free: 0.7734 MB / 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 0.9376/0.9376, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1392/0.1392, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 1.703e-06/1.703e-06, allocations: 0 / 347.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.495e-05, allocations: 2.312 kB / 347.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003617/0.003642, allocations: 2.551 MB / 350.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.004839, allocations: 0.6203 MB / 350.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.004995, allocations: 7.938 kB / 350.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.00517, allocations: 35.64 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.005332, allocations: 83.27 kB / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.005686, allocations: 75.77 kB / 351 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.00593, allocations: 302.4 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.006081, allocations: 56.78 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.006246, allocations: 167.6 kB / 351.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.006352, allocations: 91.75 kB / 351.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.006392, allocations: 28 kB / 351.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.562e-05/0.006417, allocations: 24 kB / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.006452, allocations: 59.75 kB / 351.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.868e-05/0.00651, allocations: 91.81 kB / 351.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.006701, allocations: 191.3 kB / 352 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006703, allocations: 0 / 352 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006705, allocations: 0 / 352 MB, free: 5.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.00671, allocations: 0 / 352 MB, free: 5.117 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.0005059/0.007216, allocations: 0.5663 MB / 352.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.007261, allocations: 8.031 kB / 352.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.007329, allocations: 52.73 kB / 352.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.007527, allocations: 192.1 kB / 352.8 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.007542, allocations: 16.88 kB / 352.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.007576, allocations: 20.38 kB / 352.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.007802, allocations: 238.5 kB / 353.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.007812, allocations: 192 / 353.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.007832, allocations: 12.38 kB / 353.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.007844, allocations: 7.938 kB / 353.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.007967, allocations: 82.94 kB / 353.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/0.008854, allocations: 0.7337 MB / 353.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.009027, allocations: 95.03 kB / 354 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.009086, allocations: 39.67 kB / 354 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.009104, allocations: 0 / 354 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.009127, allocations: 37.39 kB / 354.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.009129, allocations: 0 / 354.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004006/0.00953, allocations: 173.2 kB / 354.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.009549, allocations: 55.41 kB / 354.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.009655, allocations: 245.7 kB / 354.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.009665, allocations: 29.7 kB / 354.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.009724, allocations: 214.9 kB / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.009745, allocations: 47.64 kB / 354.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.009787, allocations: 39.38 kB / 354.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.009842, allocations: 0.5001 MB / 355.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.009878, allocations: 15.98 kB / 355.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.009933, allocations: 82.31 kB / 355.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.01007, allocations: 136.6 kB / 355.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01007, allocations: 0 / 355.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000194/0.01027, allocations: 169 kB / 355.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01028, allocations: 8 kB / 355.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01029, allocations: 0 / 355.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.01048, allocations: 39.78 kB / 355.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.0106, allocations: 31.92 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008561/0.01145, allocations: 1.763 MB / 357.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.01151, allocations: 11.89 kB / 357.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01153, allocations: 8 kB / 357.6 MB, free: 15.06 MB / 298.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.0001581/0.01168, allocations: 164.6 kB / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.01171, allocations: 19.91 kB / 357.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.01174, allocations: 21.47 kB / 357.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01174, allocations: 0 / 357.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.01175, allocations: 11.92 kB / 357.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01175, allocations: 4.031 kB / 357.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.01195, allocations: 184.6 kB / 358 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01195, allocations: 3.938 kB / 358 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.012, allocations: 15.98 kB / 358 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.01211, allocations: 39.61 kB / 358.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.01213, allocations: 3.984 kB / 358.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000892/0.01302, allocations: 1.744 MB / 359.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01302, allocations: 4 kB / 359.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.01328, allocations: 303.3 kB / 360.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.0133, allocations: 19.83 kB / 360.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.01332, allocations: 8 kB / 360.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.01339, allocations: 12.16 kB / 360.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.01344, allocations: 11.97 kB / 360.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.01345, allocations: 8 kB / 360.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.01355, allocations: 176 kB / 360.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01355, allocations: 0 / 360.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.01377, allocations: 63.84 kB / 360.4 MB, free: 12.06 MB / 298.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 0.0001052/0.01388, allocations: 103.2 kB / 360.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003941/0.01427, allocations: 274.9 kB / 360.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01427, allocations: 0 / 360.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.01445, allocations: 221.4 kB / 361 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.01468, allocations: 27.92 kB / 361 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.01571, allocations: 471.6 kB / 361.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.505e-05/0.01577, allocations: 79.84 kB / 361.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.664e-05/0.01583, allocations: 13.48 kB / 361.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.01587, allocations: 24.48 kB / 361.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01587, allocations: 0 / 361.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of Templates: time 0.004863/0.02074, allocations: 2.067 MB / 363.7 MB, free: 8.75 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.3063702736981213]