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.001984/0.001984, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.00271/0.00271, allocations: 215 kB / 22.99 MB, free: 4.977 MB / 14.72 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.757/1.757, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.2541/0.2541, allocations: 44.27 MB / 330.3 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 73.56 kB / 468 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1701, allocations: 61.05 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.005057/0.1752, allocations: 2.362 MB / 0.5189 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1768, allocations: 0.6242 MB / 0.5195 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1771, allocations: 0 / 0.5195 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1773, allocations: 39.58 kB / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.1777, allocations: 75.34 kB / 0.5196 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.1781, allocations: 67.89 kB / 0.5197 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.1786, allocations: 298.6 kB / 0.52 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.1789, allocations: 72.7 kB / 0.5201 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.1792, allocations: 107.6 kB / 0.5202 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1794, allocations: 103.5 kB / 0.5203 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.1795, allocations: 24 kB / 0.5203 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.1795, allocations: 20 kB / 0.5203 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.1796, allocations: 51.84 kB / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1798, allocations: 111.5 kB / 0.5205 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.1802, allocations: 282.8 kB / 0.5207 GB, free: 2.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1802, allocations: 0 / 0.5207 GB, free: 2.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1802, allocations: 0 / 0.5207 GB, free: 2.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1802, allocations: 0 / 0.5207 GB, free: 2.438 MB / 398.1 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.001129/0.1814, allocations: 477.5 kB / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.1814, allocations: 8.031 kB / 0.5212 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.1815, allocations: 28.8 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.182, allocations: 191.1 kB / 0.5214 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.1821, allocations: 12.81 kB / 0.5214 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.1821, allocations: 24.38 kB / 0.5214 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.1827, allocations: 272.7 kB / 0.5217 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1827, allocations: 0 / 0.5217 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.1827, allocations: 8 kB / 0.5217 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1827, allocations: 4 kB / 0.5217 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.1831, allocations: 149.5 kB / 0.5219 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.1845, allocations: 0.6711 MB / 0.5225 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1847, allocations: 90.48 kB / 0.5226 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1848, allocations: 44.84 kB / 0.5226 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1849, allocations: 3.938 kB / 0.5226 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.1849, allocations: 38.56 kB / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1849, allocations: 0 / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001906/0.1868, allocations: 0.6465 MB / 0.5233 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.1869, allocations: 55.41 kB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.1871, allocations: 206.5 kB / 0.5236 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.1872, allocations: 29.69 kB / 0.5236 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1873, allocations: 168.2 kB / 0.5238 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.1874, allocations: 67.45 kB / 0.5238 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.1875, allocations: 41.7 kB / 0.5239 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1877, allocations: 326.8 kB / 0.5242 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.1878, allocations: 63.97 kB / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.188, allocations: 105.1 kB / 0.5243 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.1883, allocations: 180.4 kB / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1883, allocations: 0 / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005722/0.1889, allocations: 282.9 kB / 0.5248 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1889, allocations: 4 kB / 0.5248 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1889, allocations: 4 kB / 0.5248 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.1892, allocations: 65.67 kB / 0.5248 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.1894, allocations: 36.08 kB / 0.5249 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.1923, allocations: 2.748 MB / 0.5276 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.1924, allocations: 15.92 kB / 0.5276 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1924, allocations: 4.781 kB / 0.5276 GB, free: 10.93 MB / 414.1 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.0001717/0.1926, allocations: 138.3 kB / 0.5277 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.1927, allocations: 23.8 kB / 0.5277 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.1927, allocations: 25.8 kB / 0.5278 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1927, allocations: 4 kB / 0.5278 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1927, allocations: 0 / 0.5278 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1927, allocations: 0 / 0.5278 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.193, allocations: 197.2 kB / 0.528 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.193, allocations: 0 / 0.528 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.1931, allocations: 24.11 kB / 0.528 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/0.1933, allocations: 73.61 kB / 0.528 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1933, allocations: 4 kB / 0.528 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/0.1961, allocations: 2.745 MB / 0.5307 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1961, allocations: 0 / 0.5307 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.1968, allocations: 396.7 kB / 0.5311 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.1968, allocations: 15.91 kB / 0.5311 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1968, allocations: 7.938 kB / 0.5311 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.197, allocations: 20.11 kB / 0.5311 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.1971, allocations: 19.91 kB / 0.5312 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1971, allocations: 7.984 kB / 0.5312 GB, free: 6.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1972, allocations: 148 kB / 0.5313 GB, free: 6.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1972, allocations: 0 / 0.5313 GB, free: 6.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.1976, allocations: 64 kB / 0.5314 GB, free: 6.762 MB / 414.1 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.0001529/0.1978, allocations: 111.2 kB / 0.5315 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007723/0.1985, allocations: 401.1 kB / 0.5319 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1985, allocations: 0 / 0.5319 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.199, allocations: 321.6 kB / 0.5322 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1994, allocations: 24.92 kB / 0.5322 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.2006, allocations: 0.5097 MB / 0.5327 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.2007, allocations: 134.2 kB / 0.5328 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.709e-05/0.2008, allocations: 17.62 kB / 0.5328 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.2009, allocations: 19.42 kB / 0.5329 GB, free: 5.141 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2009, allocations: 0 / 0.5329 GB, free: 5.141 MB / 414.1 MB Notification: Performance of Templates: time 0.007819/0.2087, allocations: 2.88 MB / 0.5357 GB, free: 2.293 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.832071997225285]