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.0008959/0.0008959, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004403/0.004403, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8886/0.8886, allocations: 177.2 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2563/0.2563, allocations: 34.25 MB / 295.7 MB, free: 0.668 MB / 266.7 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 1.924e-06/1.924e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.79e-05, allocations: 2.281 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.2145/0.2146, allocations: 2.426 MB / 445.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2157, allocations: 0.6451 MB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.2158, allocations: 9.688 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.216, allocations: 38.72 kB / 446.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.2161, allocations: 77.59 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.2165, allocations: 77.06 kB / 446.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.2168, allocations: 312.9 kB / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.217, allocations: 60.14 kB / 447 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.2173, allocations: 175.2 kB / 447.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2175, allocations: 82.52 kB / 447.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.2175, allocations: 23.47 kB / 447.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.2176, allocations: 31.98 kB / 447.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.2176, allocations: 54.41 kB / 447.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.2177, allocations: 85.36 kB / 447.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.218, allocations: 300.2 kB / 447.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.218, allocations: 0.75 kB / 447.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.218, allocations: 0 / 447.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.218, allocations: 2.125 kB / 447.8 MB, free: 42.65 MB / 410.7 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.0006404/0.2187, allocations: 469 kB / 448.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.2187, allocations: 9.562 kB / 448.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.2189, allocations: 44.67 kB / 448.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.2192, allocations: 192.1 kB / 448.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2192, allocations: 17.72 kB / 448.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.2193, allocations: 19.94 kB / 448.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.2196, allocations: 275.9 kB / 448.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2196, allocations: 2.969 kB / 448.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.2196, allocations: 8.375 kB / 448.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.2196, allocations: 11.38 kB / 448.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.2198, allocations: 137.2 kB / 448.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.2207, allocations: 0.6722 MB / 449.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.2208, allocations: 91.84 kB / 449.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.2209, allocations: 49.66 kB / 449.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.2209, allocations: 0 / 449.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2209, allocations: 37.38 kB / 449.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.2209, allocations: 0 / 449.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.00119/0.2221, allocations: 0.6495 MB / 450.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.2221, allocations: 57.48 kB / 450.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2223, allocations: 199.2 kB / 450.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.2223, allocations: 29.7 kB / 450.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.2224, allocations: 170.7 kB / 450.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.2224, allocations: 62.53 kB / 450.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.2224, allocations: 47.23 kB / 451 MB, free: 40.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.2225, allocations: 328.8 kB / 451.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.2226, allocations: 61.06 kB / 451.4 MB, free: 40.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.2227, allocations: 104.4 kB / 451.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.2228, allocations: 175.6 kB / 451.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2228, allocations: 4 kB / 451.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003005/0.2231, allocations: 276.2 kB / 451.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2232, allocations: 9.719 kB / 451.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2232, allocations: 6.344 kB / 451.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.2234, allocations: 77.19 kB / 452 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2235, allocations: 34.44 kB / 452 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.2247, allocations: 2.746 MB / 454.8 MB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.2247, allocations: 12.84 kB / 454.8 MB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.2248, allocations: 9.719 kB / 454.8 MB, free: 37.07 MB / 410.7 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 9.47e-05/0.2249, allocations: 132.8 kB / 454.9 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.2249, allocations: 23.14 kB / 455 MB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.2249, allocations: 27.62 kB / 455 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2249, allocations: 6.75 kB / 455 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2249, allocations: 0 / 455 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2249, allocations: 3.094 kB / 455 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.2251, allocations: 195.6 kB / 455.2 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2251, allocations: 1.5 kB / 455.2 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.2251, allocations: 17.33 kB / 455.2 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.2252, allocations: 70.05 kB / 455.3 MB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2252, allocations: 0 / 455.3 MB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009876/0.2262, allocations: 2.742 MB / 458 MB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2262, allocations: 0 / 458 MB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.2266, allocations: 384.6 kB / 458.4 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.2266, allocations: 21.61 kB / 458.4 MB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.2266, allocations: 6.844 kB / 458.4 MB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.2267, allocations: 19.91 kB / 458.4 MB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.2267, allocations: 19.34 kB / 458.5 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2267, allocations: 6.906 kB / 458.5 MB, free: 33.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.13e-05/0.2268, allocations: 151.6 kB / 458.6 MB, free: 33.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2268, allocations: 0 / 458.6 MB, free: 33.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.227, allocations: 66.34 kB / 458.7 MB, free: 33.73 MB / 410.7 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 8.951e-05/0.2271, allocations: 97.75 kB / 458.8 MB, free: 33.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.2275, allocations: 402.7 kB / 459.2 MB, free: 33.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2275, allocations: 0 / 459.2 MB, free: 33.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.2277, allocations: 329.8 kB / 459.5 MB, free: 33.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.228, allocations: 27.48 kB / 459.5 MB, free: 33.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.2286, allocations: 0.4902 MB / 460 MB, free: 32.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.916e-05/0.2287, allocations: 140.8 kB / 460.1 MB, free: 32.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.2287, allocations: 16.34 kB / 460.2 MB, free: 32.66 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2287, allocations: 0 / 460.2 MB, free: 32.66 MB / 410.7 MB Notification: Performance of Templates: time 0.004744/0.2335, allocations: 4.61 MB / 464.8 MB, free: 32.32 MB / 410.7 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.136939176358283]