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.001244/0.001244, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001317/0.001317, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 0.9859/0.9859, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.3089/0.3089, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.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 2.965e-06/2.965e-06, allocations: 0 / 342.2 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.489e-05, allocations: 4.984 kB / 342.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002825/0.00285, allocations: 2.616 MB / 344.8 MB, free: 3.273 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.003694, allocations: 0.6732 MB / 345.5 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.003767, allocations: 4 kB / 345.5 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.674e-05/0.003824, allocations: 47.56 kB / 345.5 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.596e-05/0.00391, allocations: 79.28 kB / 345.6 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.004034, allocations: 75.83 kB / 345.7 MB, free: 2.395 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.00423, allocations: 302.5 kB / 346 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.026e-05/0.004311, allocations: 66.75 kB / 346.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.004465, allocations: 179.5 kB / 346.2 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.004552, allocations: 83.77 kB / 346.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.004574, allocations: 24 kB / 346.3 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.247e-05/0.004617, allocations: 31.98 kB / 346.4 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.004646, allocations: 55.75 kB / 346.4 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.004707, allocations: 83.83 kB / 346.5 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.004886, allocations: 199.2 kB / 346.7 MB, free: 1.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004889, allocations: 0 / 346.7 MB, free: 1.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.00489, allocations: 0 / 346.7 MB, free: 1.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004894, allocations: 4 kB / 346.7 MB, free: 1.383 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.0003321/0.005226, allocations: 451.6 kB / 347.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.566e-05/0.005252, allocations: 12.03 kB / 347.2 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.005354, allocations: 43.95 kB / 347.2 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.005498, allocations: 168.8 kB / 347.4 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.005511, allocations: 20.5 kB / 347.4 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.005533, allocations: 24 kB / 347.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.005685, allocations: 221.9 kB / 347.6 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-06/0.005688, allocations: 0 / 347.6 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.005699, allocations: 8 kB / 347.6 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.005704, allocations: 8 kB / 347.6 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.005771, allocations: 51.41 kB / 347.7 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.006322, allocations: 0.5747 MB / 348.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.237e-05/0.006394, allocations: 70.48 kB / 348.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.00642, allocations: 24.83 kB / 348.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.00643, allocations: 8 kB / 348.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.006445, allocations: 34.56 kB / 348.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 7.11e-07/0.006446, allocations: 0 / 348.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008793/0.007325, allocations: 0.5178 MB / 348.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.007347, allocations: 55.41 kB / 349 MB, free: 14.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.007452, allocations: 192.5 kB / 349.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.007466, allocations: 29.7 kB / 349.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.007536, allocations: 168.1 kB / 349.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.007571, allocations: 63.52 kB / 349.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.007617, allocations: 41.64 kB / 349.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.007721, allocations: 338.7 kB / 349.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.007747, allocations: 19.94 kB / 349.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.007803, allocations: 71.67 kB / 349.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.152e-05/0.007895, allocations: 103.8 kB / 350 MB, free: 13.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007896, allocations: 0 / 350 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002039/0.0081, allocations: 175 kB / 350.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.008112, allocations: 7.984 kB / 350.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008117, allocations: 4 kB / 350.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.008279, allocations: 81.75 kB / 350.2 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.008352, allocations: 27.98 kB / 350.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.009599, allocations: 2.464 MB / 352.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.009658, allocations: 8 kB / 352.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.009666, allocations: 4 kB / 352.7 MB, free: 10.89 MB / 330.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 8.26e-05/0.009748, allocations: 121.8 kB / 352.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.009776, allocations: 23.92 kB / 352.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.009802, allocations: 21.81 kB / 352.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.009804, allocations: 8.031 kB / 352.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.009811, allocations: 0 / 352.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.009815, allocations: 3.984 kB / 352.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.009944, allocations: 129.8 kB / 353 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.009946, allocations: 0 / 353 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.009991, allocations: 19.98 kB / 353.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/0.01013, allocations: 77.84 kB / 353.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.01014, allocations: 4 kB / 353.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.01139, allocations: 2.471 MB / 355.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01139, allocations: 0 / 355.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.01162, allocations: 268.8 kB / 355.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.01164, allocations: 15.86 kB / 355.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.01166, allocations: 8 kB / 355.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.01173, allocations: 11.98 kB / 355.9 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.01177, allocations: 20.03 kB / 355.9 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.01178, allocations: 4 kB / 355.9 MB, free: 7.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.01184, allocations: 60.55 kB / 356 MB, free: 7.406 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01184, allocations: 0 / 356 MB, free: 7.406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.01206, allocations: 64 kB / 356.1 MB, free: 7.344 MB / 330.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.000103/0.01216, allocations: 72.42 kB / 356.1 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.01249, allocations: 358.2 kB / 356.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.0125, allocations: 0 / 356.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.01269, allocations: 298 kB / 356.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.01286, allocations: 27.92 kB / 356.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.01369, allocations: 484.5 kB / 357.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.629e-05/0.01375, allocations: 84.31 kB / 357.4 MB, free: 5.941 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.507e-05/0.01381, allocations: 17.62 kB / 357.4 MB, free: 5.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.0139, allocations: 79.36 kB / 357.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.0139, allocations: 0 / 357.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of Templates: time 0.004904/0.0188, allocations: 2.831 MB / 360.3 MB, free: 3.059 MB / 330.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 -s gbode -gbm=radauIIA3 -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.002017584629357]