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.001265/0.001265, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.00133/0.00133, allocations: 163.8 kB / 23.96 MB, free: 4.148 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.347/1.347, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1899/0.1899, allocations: 32.82 MB / 293.5 MB, free: 24 kB / 270.1 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 1.663e-06/1.663e-06, allocations: 0 / 440.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.74e-05, allocations: 2.281 kB / 440.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003542/0.00357, allocations: 2.428 MB / 442.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.004667, allocations: 0.6388 MB / 443.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.004773, allocations: 7.938 kB / 443.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.004899, allocations: 39.64 kB / 443.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.005037, allocations: 75.27 kB / 443.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.005334, allocations: 87.77 kB / 443.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.005669, allocations: 310.4 kB / 443.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.005825, allocations: 52.8 kB / 443.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.006093, allocations: 179.5 kB / 443.9 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.00624, allocations: 87.7 kB / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.006283, allocations: 24 kB / 444 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.006356, allocations: 27.98 kB / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.006408, allocations: 51.81 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.006514, allocations: 95.77 kB / 444.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.006872, allocations: 287.1 kB / 444.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.006874, allocations: 0 / 444.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006875, allocations: 0 / 444.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.006884, allocations: 0 / 444.4 MB, free: 3.805 MB / 366.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.0008098/0.007694, allocations: 477.5 kB / 444.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.007728, allocations: 8.031 kB / 444.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.00789, allocations: 44.73 kB / 444.9 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.008185, allocations: 185.4 kB / 445.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.008205, allocations: 16.88 kB / 445.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.008246, allocations: 24.38 kB / 445.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.008656, allocations: 269.7 kB / 445.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.008666, allocations: 192 / 445.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.008691, allocations: 8.375 kB / 445.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.008704, allocations: 15.88 kB / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.008995, allocations: 141.9 kB / 445.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01024, allocations: 0.6721 MB / 446.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.01044, allocations: 94.42 kB / 446.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.01054, allocations: 44.84 kB / 446.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.01056, allocations: 0 / 446.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.0106, allocations: 42.56 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.0106, allocations: 0 / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001814/0.01241, allocations: 0.6464 MB / 447.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.01246, allocations: 55.41 kB / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.01267, allocations: 202.6 kB / 447.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.0127, allocations: 25.7 kB / 447.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.01283, allocations: 184.1 kB / 447.5 MB, free: 464 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.01288, allocations: 51.59 kB / 447.6 MB, free: 412 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.01296, allocations: 45.66 kB / 447.6 MB, free: 360 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01311, allocations: 330.8 kB / 448 MB, free: 20 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1867/0.1998, allocations: 54.92 kB / 448 MB, free: 21.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2, allocations: 107.3 kB / 448.1 MB, free: 21.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.2003, allocations: 174.3 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2003, allocations: 8.312 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005618/0.2009, allocations: 274.5 kB / 448.6 MB, free: 21.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2009, allocations: 5.562 kB / 448.6 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2009, allocations: 2.344 kB / 448.6 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/0.2011, allocations: 79.52 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.2013, allocations: 30.06 kB / 448.7 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.2031, allocations: 2.748 MB / 451.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.2032, allocations: 14.81 kB / 451.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.2032, allocations: 6.062 kB / 451.4 MB, free: 18.76 MB / 366.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.0001411/0.2034, allocations: 148.5 kB / 451.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.2034, allocations: 20.14 kB / 451.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.2035, allocations: 23.89 kB / 451.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2035, allocations: 2.188 kB / 451.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2035, allocations: 1.125 kB / 451.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2035, allocations: 1.922 kB / 451.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.2037, allocations: 188.6 kB / 451.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2037, allocations: 7.547 kB / 451.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.192e-05/0.2038, allocations: 18.88 kB / 451.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001761/0.204, allocations: 66.73 kB / 451.9 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.204, allocations: 10.11 kB / 451.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.2055, allocations: 2.75 MB / 454.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2055, allocations: 0 / 454.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.2061, allocations: 381.8 kB / 455 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.2061, allocations: 18.31 kB / 455.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.2061, allocations: 13.12 kB / 455.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.2063, allocations: 19.03 kB / 455.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.2063, allocations: 17.61 kB / 455.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2064, allocations: 4.047 kB / 455.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.2065, allocations: 145.2 kB / 455.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2065, allocations: 0 / 455.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.2068, allocations: 64.53 kB / 455.3 MB, free: 15.46 MB / 366.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.0001054/0.2069, allocations: 100.4 kB / 455.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.2075, allocations: 401.2 kB / 455.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2075, allocations: 0 / 455.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.2078, allocations: 324 kB / 456.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.2081, allocations: 24.47 kB / 456.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.2089, allocations: 493.6 kB / 456.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.209, allocations: 139.3 kB / 456.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.589e-05/0.209, allocations: 20.77 kB / 456.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.2091, allocations: 16.94 kB / 456.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2091, allocations: 0 / 456.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Templates: time 0.007004/0.2161, allocations: 2.641 MB / 459.4 MB, free: 14.11 MB / 366.1 MB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.614190444350243]