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.001055/0.001055, allocations: 95.2 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.001182/0.001182, allocations: 165.3 kB / 23.79 MB, free: 0.7812 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.9466/0.9466, allocations: 158.6 MB / 185.6 MB, free: 2.508 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.1387/0.1387, allocations: 32.37 MB / 270.4 MB, free: 14.69 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.224e-06/2.224e-06, allocations: 0 / 347.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.508e-05, allocations: 10.25 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004404/0.004439, allocations: 2.536 MB / 350.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.005926, allocations: 0.6203 MB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.006135, allocations: 7.938 kB / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.006311, allocations: 39.64 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.006529, allocations: 79.27 kB / 350.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.006877, allocations: 71.78 kB / 351 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.007192, allocations: 310.4 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.007358, allocations: 56.78 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.007563, allocations: 167.7 kB / 351.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.007687, allocations: 95.75 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.007721, allocations: 24 kB / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.568e-05/0.007747, allocations: 24 kB / 351.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.007785, allocations: 51.77 kB / 351.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.007851, allocations: 87.81 kB / 351.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.00807, allocations: 187.3 kB / 352 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.008073, allocations: 0 / 352 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008075, allocations: 0 / 352 MB, free: 5.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.008081, allocations: 0 / 352 MB, free: 5.125 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.0005194/0.0086, allocations: 0.5624 MB / 352.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.008637, allocations: 8.031 kB / 352.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.008698, allocations: 48.69 kB / 352.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.008886, allocations: 192.2 kB / 352.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.008899, allocations: 16.88 kB / 352.8 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.00894, allocations: 20.38 kB / 352.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.009173, allocations: 234.5 kB / 353 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.009181, allocations: 8.188 kB / 353 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.009199, allocations: 8.375 kB / 353.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.009209, allocations: 7.938 kB / 353.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.009317, allocations: 78.89 kB / 353.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.01009, allocations: 0.7221 MB / 353.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.01022, allocations: 82.97 kB / 353.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.01027, allocations: 31.67 kB / 354 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.01029, allocations: 4 kB / 354 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.01031, allocations: 37.39 kB / 354 MB, free: 2.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.01031, allocations: 0 / 354 MB, free: 2.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009763/0.01129, allocations: 0.5431 MB / 354.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.01131, allocations: 55.41 kB / 354.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.01143, allocations: 242.8 kB / 354.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.01144, allocations: 33.7 kB / 354.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.01149, allocations: 222.9 kB / 355.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.01152, allocations: 55.55 kB / 355.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.01156, allocations: 47.36 kB / 355.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.0116, allocations: 0.5 MB / 355.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.01165, allocations: 27.98 kB / 355.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.01171, allocations: 97.97 kB / 355.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.01182, allocations: 133.1 kB / 355.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01182, allocations: 0 / 355.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000243/0.01207, allocations: 228.6 kB / 356.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01208, allocations: 7.938 kB / 356.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01209, allocations: 4 kB / 356.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.0123, allocations: 87.47 kB / 356.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.01239, allocations: 35.92 kB / 356.3 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.01422, allocations: 3.645 MB / 360 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.01428, allocations: 12 kB / 360 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.0143, allocations: 8 kB / 360 MB, free: 12.52 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.0001165/0.01441, allocations: 172.5 kB / 360.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.01445, allocations: 27.89 kB / 360.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.01448, allocations: 17.81 kB / 360.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01448, allocations: 3.938 kB / 360.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.01449, allocations: 8.031 kB / 360.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.01449, allocations: 0 / 360.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.01467, allocations: 188.6 kB / 360.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01467, allocations: 0 / 360.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.01471, allocations: 19.98 kB / 360.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/0.01519, allocations: 87.3 kB / 360.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.0152, allocations: 4 kB / 360.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.01682, allocations: 3.649 MB / 364.1 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01682, allocations: 0 / 364.1 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.01712, allocations: 358.8 kB / 364.5 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.01714, allocations: 23.89 kB / 364.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.01715, allocations: 4 kB / 364.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.01723, allocations: 15.98 kB / 364.5 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.0173, allocations: 19.97 kB / 364.5 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01731, allocations: 64 / 364.5 MB, free: 7.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.564e-05/0.0174, allocations: 187 kB / 364.7 MB, free: 7.418 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.0174, allocations: 4 kB / 364.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.01766, allocations: 63.94 kB / 364.8 MB, free: 7.352 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 0.0001235/0.01779, allocations: 99.33 kB / 364.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.01829, allocations: 478.4 kB / 365.4 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.01829, allocations: 3.984 kB / 365.4 MB, free: 6.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.01856, allocations: 415.8 kB / 365.8 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.01882, allocations: 26.94 kB / 365.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.01991, allocations: 480.9 kB / 366.3 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.58e-05/0.01998, allocations: 84.31 kB / 366.4 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.656e-05/0.02003, allocations: 13.62 kB / 366.4 MB, free: 5.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.02007, allocations: 16.5 kB / 366.4 MB, free: 5.641 MB / 298.7 MB Notification: Performance of SimCode: time 1.203e-06/0.02007, allocations: 4 kB / 366.4 MB, free: 5.637 MB / 298.7 MB Notification: Performance of Templates: time 0.005356/0.02543, allocations: 2.704 MB / 369.1 MB, free: 2.973 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.398162010591477]