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.0008374/0.0008374, 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.003467/0.003467, allocations: 163.2 kB / 24.7 MB, free: 9.426 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.9005/0.9005, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 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.2393/0.2393, allocations: 32.8 MB / 294.2 MB, free: 1.215 MB / 266.7 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.994e-06/1.994e-06, allocations: 0 / 440.8 MB, free: 3.785 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.114e-05, allocations: 6.219 kB / 440.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002845/0.002876, allocations: 2.427 MB / 443.2 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000931/0.003807, allocations: 0.6426 MB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.003925, allocations: 7.938 kB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.004057, allocations: 35.64 kB / 443.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.91e-05/0.004156, allocations: 79.28 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.004472, allocations: 83.77 kB / 444.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.004747, allocations: 310.4 kB / 444.4 MB, free: 180 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.004926, allocations: 68.72 kB / 444.5 MB, free: 104 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.221/0.226, allocations: 170.3 kB / 444.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.2261, allocations: 83.06 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.2262, allocations: 25 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.2263, allocations: 26.92 kB / 444.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.2263, allocations: 53.94 kB / 444.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.1e-05/0.2264, allocations: 88.56 kB / 444.9 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.2267, allocations: 293 kB / 445.2 MB, free: 43.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2267, allocations: 0 / 445.2 MB, free: 43.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2267, allocations: 3.156 kB / 445.2 MB, free: 43.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2267, allocations: 0 / 445.2 MB, free: 43.94 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.0005611/0.2273, allocations: 473.6 kB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2273, allocations: 8.531 kB / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.2274, allocations: 44.97 kB / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.2277, allocations: 188.9 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2277, allocations: 17.09 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.2278, allocations: 22.12 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.228, allocations: 268.5 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.228, allocations: 2.625 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.228, allocations: 10.72 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.228, allocations: 13.06 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.2282, allocations: 139.8 kB / 446.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.2289, allocations: 0.6707 MB / 447 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.2291, allocations: 91.94 kB / 447.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.2291, allocations: 47.08 kB / 447.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.2291, allocations: 1.125 kB / 447.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.2292, allocations: 36.53 kB / 447.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.825e-06/0.2292, allocations: 4.438 kB / 447.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001079/0.2302, allocations: 0.6444 MB / 447.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.2303, allocations: 57.34 kB / 447.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2304, allocations: 207.8 kB / 448.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.2304, allocations: 32.61 kB / 448.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.2304, allocations: 177.6 kB / 448.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.2305, allocations: 52.45 kB / 448.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.2305, allocations: 47.91 kB / 448.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.2305, allocations: 327.8 kB / 448.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/0.2306, allocations: 61.56 kB / 448.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.2307, allocations: 108.9 kB / 448.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.2309, allocations: 174.5 kB / 449.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2309, allocations: 0 / 449.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003843/0.2313, allocations: 282 kB / 449.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2313, allocations: 9.5 kB / 449.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2313, allocations: 7.031 kB / 449.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.2315, allocations: 73.53 kB / 449.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2316, allocations: 29.28 kB / 449.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.2327, allocations: 2.75 MB / 452.2 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.2328, allocations: 13.42 kB / 452.2 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2328, allocations: 11.52 kB / 452.2 MB, free: 39.12 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 7.265e-05/0.2329, allocations: 130.6 kB / 452.3 MB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.2329, allocations: 23.11 kB / 452.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.2329, allocations: 19.78 kB / 452.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2329, allocations: 10.81 kB / 452.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.2329, allocations: 3.656 kB / 452.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2329, allocations: 0 / 452.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.233, allocations: 199.9 kB / 452.6 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.233, allocations: 2.297 kB / 452.6 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.2331, allocations: 14.42 kB / 452.6 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.2332, allocations: 70.11 kB / 452.7 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2332, allocations: 0 / 452.7 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008441/0.234, allocations: 2.742 MB / 455.4 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.234, allocations: 0 / 455.4 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.2343, allocations: 394.7 kB / 455.8 MB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.2344, allocations: 21.33 kB / 455.8 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.2344, allocations: 8.766 kB / 455.8 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.2345, allocations: 17.91 kB / 455.9 MB, free: 35.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.2345, allocations: 16.19 kB / 455.9 MB, free: 35.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2345, allocations: 6.078 kB / 455.9 MB, free: 35.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.348e-05/0.2346, allocations: 146.7 kB / 456 MB, free: 35.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2346, allocations: 0 / 456 MB, free: 35.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.2348, allocations: 67.09 kB / 456.1 MB, free: 35.81 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 7.951e-05/0.2349, allocations: 109.5 kB / 456.2 MB, free: 35.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.2352, allocations: 398.3 kB / 456.6 MB, free: 35.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2352, allocations: 320 / 456.6 MB, free: 35.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.2354, allocations: 324.6 kB / 456.9 MB, free: 35.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.2356, allocations: 30.02 kB / 456.9 MB, free: 35.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.2362, allocations: 0.4895 MB / 457.4 MB, free: 34.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.146e-05/0.2363, allocations: 137.9 kB / 457.6 MB, free: 34.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.2363, allocations: 19.98 kB / 457.6 MB, free: 34.77 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.2363, allocations: 0 / 457.6 MB, free: 34.77 MB / 410.7 MB Notification: Performance of Templates: time 0.003971/0.2403, allocations: 4.609 MB / 462.2 MB, free: 34.43 MB / 410.7 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: 5.507453774102032]