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.001982/0.001982, allocations: 79.73 kB / 20.51 MB, free: 1.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.002621/0.002621, allocations: 158.9 kB / 23.76 MB, free: 4.461 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.532/1.532, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.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.2208/0.2208, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.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.003823/0.003823, allocations: 75.91 kB / 407.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1768, allocations: 61.04 MB / 468.8 MB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.007005/0.1838, allocations: 2.373 MB / 471.1 MB, free: 5.949 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1861, allocations: 0.6123 MB / 471.8 MB, free: 5.328 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.1864, allocations: 7.938 kB / 471.8 MB, free: 5.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.1868, allocations: 39.62 kB / 471.8 MB, free: 5.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.1872, allocations: 79.34 kB / 471.9 MB, free: 5.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.1877, allocations: 63.84 kB / 471.9 MB, free: 5.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007101/0.1884, allocations: 290.8 kB / 472.2 MB, free: 4.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.1887, allocations: 60.8 kB / 472.3 MB, free: 4.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.1891, allocations: 115.6 kB / 472.4 MB, free: 4.684 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.1895, allocations: 107.5 kB / 472.5 MB, free: 4.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.545e-05/0.1895, allocations: 24 kB / 472.5 MB, free: 4.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-05/0.1896, allocations: 24 kB / 472.5 MB, free: 4.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.1897, allocations: 51.78 kB / 472.6 MB, free: 4.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.19, allocations: 107.5 kB / 472.7 MB, free: 4.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.1905, allocations: 282.9 kB / 473 MB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1905, allocations: 0 / 473 MB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1905, allocations: 0 / 473 MB, free: 4.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.1906, allocations: 0 / 473 MB, free: 4.098 MB / 446.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.001347/0.1919, allocations: 473.6 kB / 473.4 MB, free: 3.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.192, allocations: 12.03 kB / 473.5 MB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.1921, allocations: 32.78 kB / 473.5 MB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006162/0.1927, allocations: 182.6 kB / 473.7 MB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.1927, allocations: 20.88 kB / 473.7 MB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.1928, allocations: 16.38 kB / 473.7 MB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.1935, allocations: 277.5 kB / 474 MB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1935, allocations: 0 / 474 MB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.1935, allocations: 12 kB / 474 MB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1936, allocations: 4 kB / 474 MB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.194, allocations: 145.9 kB / 474.1 MB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.196, allocations: 0.676 MB / 474.8 MB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.1963, allocations: 94.48 kB / 474.9 MB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1964, allocations: 40.84 kB / 474.9 MB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1965, allocations: 3.938 kB / 474.9 MB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.1965, allocations: 34.56 kB / 475 MB, free: 1.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.1965, allocations: 0 / 475 MB, free: 1.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002777/0.1993, allocations: 0.6543 MB / 475.6 MB, free: 1.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.1994, allocations: 55.41 kB / 475.7 MB, free: 1.184 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.1997, allocations: 198.5 kB / 475.9 MB, free: 0.9727 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.1997, allocations: 33.7 kB / 475.9 MB, free: 0.9336 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1999, allocations: 168.2 kB / 476.1 MB, free: 0.7656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.1999, allocations: 59.48 kB / 476.1 MB, free: 0.707 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2001, allocations: 45.7 kB / 476.2 MB, free: 0.6562 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.2003, allocations: 330.8 kB / 476.5 MB, free: 332 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2005, allocations: 63.84 kB / 476.6 MB, free: 268 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.2008, allocations: 101.1 kB / 476.7 MB, free: 148 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2497/0.4505, allocations: 178.3 kB / 476.8 MB, free: 50.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4505, allocations: 0.9375 kB / 476.8 MB, free: 50.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005576/0.4511, allocations: 283.3 kB / 477.1 MB, free: 50.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4511, allocations: 7.219 kB / 477.1 MB, free: 50.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4511, allocations: 0.5312 kB / 477.1 MB, free: 50.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.4514, allocations: 72.28 kB / 477.2 MB, free: 50.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.4515, allocations: 31.67 kB / 477.2 MB, free: 50.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.4531, allocations: 2.754 MB / 480 MB, free: 47.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.4533, allocations: 12.12 kB / 480 MB, free: 47.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.4533, allocations: 6.188 kB / 480 MB, free: 47.76 MB / 446.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.0001084/0.4534, allocations: 142.2 kB / 480.1 MB, free: 47.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.4534, allocations: 21.27 kB / 480.2 MB, free: 47.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.4534, allocations: 21.86 kB / 480.2 MB, free: 47.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4535, allocations: 3.219 kB / 480.2 MB, free: 47.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4535, allocations: 0 / 480.2 MB, free: 47.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4535, allocations: 0 / 480.2 MB, free: 47.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.4536, allocations: 198.7 kB / 480.4 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4536, allocations: 3.156 kB / 480.4 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.4537, allocations: 13.91 kB / 480.4 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/0.4539, allocations: 69.72 kB / 480.5 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4539, allocations: 4.562 kB / 480.5 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.4553, allocations: 2.747 MB / 483.2 MB, free: 45.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4553, allocations: 0 / 483.2 MB, free: 45.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.4558, allocations: 389.7 kB / 483.6 MB, free: 44.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.4559, allocations: 22.19 kB / 483.6 MB, free: 44.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.4559, allocations: 7.125 kB / 483.6 MB, free: 44.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.4561, allocations: 16.88 kB / 483.6 MB, free: 44.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.4561, allocations: 25.72 kB / 483.7 MB, free: 44.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4562, allocations: 3.125 kB / 483.7 MB, free: 44.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.078e-05/0.4562, allocations: 144.3 kB / 483.8 MB, free: 44.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4562, allocations: 0 / 483.8 MB, free: 44.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.4566, allocations: 63.59 kB / 483.9 MB, free: 44.83 MB / 446.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 6.864e-05/0.4567, allocations: 96.97 kB / 484 MB, free: 44.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.4572, allocations: 402.4 kB / 484.4 MB, free: 44.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4572, allocations: 0.7656 kB / 484.4 MB, free: 44.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.4575, allocations: 323.8 kB / 484.7 MB, free: 44.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.4578, allocations: 21.11 kB / 484.7 MB, free: 44.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.4586, allocations: 0.5153 MB / 485.2 MB, free: 43.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.686e-05/0.4587, allocations: 140.6 kB / 485.3 MB, free: 43.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.078e-05/0.4588, allocations: 18.98 kB / 485.4 MB, free: 43.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.4588, allocations: 21.66 kB / 485.4 MB, free: 43.81 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4588, allocations: 0 / 485.4 MB, free: 43.81 MB / 446.1 MB Notification: Performance of Templates: time 0.005732/0.4645, allocations: 2.628 MB / 488 MB, free: 43.53 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/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.4763612860115245]