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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 195.2 kB / 22.98 MB, free: 5.016 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.696/1.696, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2703/0.2703, allocations: 44.24 MB / 330.2 MB, free: 9.57 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 79.84 kB / 467.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1736, allocations: 61.02 MB / 0.5166 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.005137/0.1788, allocations: 2.556 MB / 0.519 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1804, allocations: 0.6552 MB / 0.5197 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.1806, allocations: 7.938 kB / 0.5197 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.1808, allocations: 35.64 kB / 0.5197 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.181, allocations: 79.27 kB / 0.5198 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1812, allocations: 63.91 kB / 0.5199 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.1816, allocations: 302.7 kB / 0.5202 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1818, allocations: 60.73 kB / 0.5202 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.182, allocations: 123.5 kB / 0.5203 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1822, allocations: 115.4 kB / 0.5204 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.1822, allocations: 24 kB / 0.5205 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.061e-05/0.1823, allocations: 24 kB / 0.5205 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.1823, allocations: 51.83 kB / 0.5205 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1825, allocations: 131.4 kB / 0.5207 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.1829, allocations: 278.8 kB / 0.5209 GB, free: 2.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1829, allocations: 0 / 0.5209 GB, free: 2.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1829, allocations: 4 kB / 0.5209 GB, free: 2.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1829, allocations: 0 / 0.5209 GB, free: 2.398 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.0009182/0.1838, allocations: 469.5 kB / 0.5214 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1839, allocations: 8.031 kB / 0.5214 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.1839, allocations: 24.8 kB / 0.5214 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.1843, allocations: 191 kB / 0.5216 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.1844, allocations: 20.81 kB / 0.5216 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.1844, allocations: 20.38 kB / 0.5216 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.1848, allocations: 191.6 kB / 0.5218 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1849, allocations: 0 / 0.5218 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.1849, allocations: 8 kB / 0.5218 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.1849, allocations: 8 kB / 0.5218 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.1852, allocations: 141.7 kB / 0.522 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.1867, allocations: 0.7679 MB / 0.5227 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.1869, allocations: 94.48 kB / 0.5228 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.1869, allocations: 40.84 kB / 0.5228 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.187, allocations: 0 / 0.5228 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.187, allocations: 42.69 kB / 0.5229 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.187, allocations: 0 / 0.5229 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001854/0.1889, allocations: 0.6466 MB / 0.5235 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1889, allocations: 51.41 kB / 0.5236 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1891, allocations: 215.7 kB / 0.5238 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.1892, allocations: 33.7 kB / 0.5238 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1893, allocations: 168.2 kB / 0.524 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.1894, allocations: 55.55 kB / 0.524 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.1894, allocations: 41.66 kB / 0.5241 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1896, allocations: 334.8 kB / 0.5244 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.1897, allocations: 59.97 kB / 0.5244 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.1899, allocations: 105.1 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.1902, allocations: 188.4 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1902, allocations: 3.938 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005493/0.1908, allocations: 278.9 kB / 0.525 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1908, allocations: 4 kB / 0.525 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1908, allocations: 4 kB / 0.525 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.1911, allocations: 69.61 kB / 0.5251 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.1912, allocations: 32.14 kB / 0.5251 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.1938, allocations: 2.822 MB / 0.5278 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.194, allocations: 8 kB / 0.5278 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.194, allocations: 7.984 kB / 0.5279 GB, free: 10.78 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.0001513/0.1941, allocations: 141.7 kB / 0.528 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.1942, allocations: 23.86 kB / 0.528 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.1942, allocations: 17.81 kB / 0.528 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1942, allocations: 64 / 0.528 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1942, allocations: 4 kB / 0.528 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1942, allocations: 7.984 kB / 0.528 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.1946, allocations: 252.5 kB / 0.5283 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1946, allocations: 0 / 0.5283 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.1947, allocations: 15.98 kB / 0.5283 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.1949, allocations: 65.67 kB / 0.5284 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1949, allocations: 11.98 kB / 0.5284 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/0.1974, allocations: 2.81 MB / 0.5311 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1974, allocations: 4.062 kB / 0.5311 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.1981, allocations: 392.7 kB / 0.5315 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.1981, allocations: 15.92 kB / 0.5315 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1981, allocations: 4 kB / 0.5315 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.1983, allocations: 20.05 kB / 0.5315 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.1984, allocations: 15.97 kB / 0.5315 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1984, allocations: 4.375 kB / 0.5316 GB, free: 6.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1986, allocations: 153.5 kB / 0.5317 GB, free: 6.531 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1986, allocations: 0 / 0.5317 GB, free: 6.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.1989, allocations: 64 kB / 0.5318 GB, free: 6.469 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.0001328/0.1991, allocations: 111.3 kB / 0.5319 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007701/0.1998, allocations: 397.1 kB / 0.5322 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1998, allocations: 0 / 0.5322 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.2004, allocations: 325.6 kB / 0.5326 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.2007, allocations: 33.02 kB / 0.5326 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.2019, allocations: 0.5167 MB / 0.5331 GB, free: 5.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.2023, allocations: 0.748 MB / 0.5338 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.2024, allocations: 21.94 kB / 0.5338 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.2025, allocations: 19.42 kB / 0.5339 GB, free: 4.203 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2025, allocations: 0 / 0.5339 GB, free: 4.203 MB / 414.1 MB Notification: Performance of Templates: time 0.008339/0.2108, allocations: 2.857 MB / 0.5367 GB, free: 1.359 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: 6.02884010784328]