Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001411/0.001411, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001399/0.001399, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.609/1.609, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.268/0.268, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 67.89 kB / 0.4914 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1842, allocations: 65.99 MB / 0.5558 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004728/0.1889, allocations: 2.581 MB / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1909, allocations: 0.6816 MB / 0.559 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.1911, allocations: 11.94 kB / 0.559 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1913, allocations: 39.58 kB / 0.5591 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1915, allocations: 71.34 kB / 0.5591 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1918, allocations: 79.83 kB / 0.5592 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.1922, allocations: 290.8 kB / 0.5595 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.1924, allocations: 72.36 kB / 0.5595 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.1927, allocations: 123.6 kB / 0.5597 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1929, allocations: 119.5 kB / 0.5598 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.1929, allocations: 24 kB / 0.5598 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.696e-05/0.193, allocations: 28 kB / 0.5598 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.1931, allocations: 51.78 kB / 0.5599 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1932, allocations: 127.4 kB / 0.56 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.1936, allocations: 298.8 kB / 0.5603 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1936, allocations: 0 / 0.5603 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1936, allocations: 0 / 0.5603 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1936, allocations: 0 / 0.5603 GB, free: 0.7812 MB / 414.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.0009988/0.1946, allocations: 0.5416 MB / 0.5608 GB, free: 192 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1947, allocations: 8.031 kB / 0.5608 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.1949, allocations: 36.78 kB / 0.5609 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1953, allocations: 259.9 kB / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.1953, allocations: 20.81 kB / 0.5611 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.1954, allocations: 20.31 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.1958, allocations: 199.5 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1958, allocations: 0 / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.1958, allocations: 12 kB / 0.5613 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1959, allocations: 4 kB / 0.5614 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.1962, allocations: 141.7 kB / 0.5615 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1976, allocations: 0.8027 MB / 0.5623 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1979, allocations: 102.5 kB / 0.5624 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.198, allocations: 40.84 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.198, allocations: 0 / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.1981, allocations: 34.56 kB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1981, allocations: 0 / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002033/0.2001, allocations: 0.7218 MB / 0.5631 GB, free: 13.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.2001, allocations: 55.41 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.2004, allocations: 214.9 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.2004, allocations: 29.7 kB / 0.5634 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.2006, allocations: 172 kB / 0.5636 GB, free: 13.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.2006, allocations: 51.59 kB / 0.5636 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/0.2007, allocations: 45.66 kB / 0.5637 GB, free: 13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.2009, allocations: 330.8 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.2011, allocations: 63.97 kB / 0.5641 GB, free: 12.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.2013, allocations: 103.3 kB / 0.5642 GB, free: 12.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.2016, allocations: 170.3 kB / 0.5643 GB, free: 12.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2016, allocations: 0 / 0.5643 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006104/0.2022, allocations: 284.9 kB / 0.5646 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.2022, allocations: 8 kB / 0.5646 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2022, allocations: 0 / 0.5646 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002821/0.2025, allocations: 73.67 kB / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.2027, allocations: 31.92 kB / 0.5647 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.2057, allocations: 3.026 MB / 0.5677 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.2059, allocations: 12.23 kB / 0.5677 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.2059, allocations: 15.94 kB / 0.5677 GB, free: 8.566 MB / 430.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.0002013/0.2061, allocations: 145.7 kB / 0.5678 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.2061, allocations: 19.91 kB / 0.5678 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.2062, allocations: 25.86 kB / 0.5679 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2062, allocations: 3.938 kB / 0.5679 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.2062, allocations: 0 / 0.5679 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2062, allocations: 4 kB / 0.5679 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.2066, allocations: 289.5 kB / 0.5682 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2066, allocations: 0 / 0.5682 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.2067, allocations: 15.98 kB / 0.5682 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.2069, allocations: 65.67 kB / 0.5682 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.2069, allocations: 4 kB / 0.5682 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.2097, allocations: 3.013 MB / 0.5712 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.2097, allocations: 3.984 kB / 0.5712 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.2103, allocations: 395.1 kB / 0.5716 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.2104, allocations: 101 kB / 0.5717 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.2105, allocations: 0 / 0.5717 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.2106, allocations: 20.05 kB / 0.5717 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.2107, allocations: 19.91 kB / 0.5717 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2107, allocations: 8 kB / 0.5717 GB, free: 4.074 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.2109, allocations: 148.6 kB / 0.5718 GB, free: 3.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2109, allocations: 0 / 0.5718 GB, free: 3.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.2113, allocations: 64 kB / 0.5719 GB, free: 3.867 MB / 430.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.0001355/0.2114, allocations: 99.25 kB / 0.572 GB, free: 3.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.2122, allocations: 401.2 kB / 0.5724 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2122, allocations: 0 / 0.5724 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004816/0.2127, allocations: 321.6 kB / 0.5727 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.213, allocations: 31.91 kB / 0.5727 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2141, allocations: 0.5116 MB / 0.5732 GB, free: 2.434 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.2145, allocations: 0.748 MB / 0.5739 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.379e-05/0.2146, allocations: 21.94 kB / 0.574 GB, free: 1.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.2146, allocations: 23.36 kB / 0.574 GB, free: 1.613 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2146, allocations: 0 / 0.574 GB, free: 1.613 MB / 430.1 MB Notification: Performance of Templates: time 0.007355/0.222, allocations: 2.75 MB / 0.5767 GB, free: 14.88 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.695035580545664]