Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 89.45 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 34.25 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.414e-05, allocations: 2.281 kB / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003831/0.003865, allocations: 2.424 MB / 445.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.005148, allocations: 0.6542 MB / 445.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.005266, allocations: 7.938 kB / 445.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.005407, allocations: 35.64 kB / 445.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.005564, allocations: 79.22 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.005888, allocations: 75.88 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.006279, allocations: 306.6 kB / 446.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.00646, allocations: 57.78 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.006756, allocations: 183.5 kB / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.00691, allocations: 87.77 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.006956, allocations: 20 kB / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.007038, allocations: 28 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.0071, allocations: 55.75 kB / 446.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.007212, allocations: 91.81 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.007601, allocations: 287.1 kB / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.007604, allocations: 0 / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007605, allocations: 0 / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.007612, allocations: 4 kB / 447 MB, free: 0.9336 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.000902/0.008514, allocations: 473.5 kB / 447.5 MB, free: 452 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.008556, allocations: 11.97 kB / 447.5 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.008747, allocations: 40.73 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.009104, allocations: 197.3 kB / 447.7 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.009131, allocations: 20.88 kB / 447.7 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.009177, allocations: 20.38 kB / 447.7 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2281/0.2373, allocations: 264 kB / 448 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2373, allocations: 192 / 448 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.2373, allocations: 11.44 kB / 448 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.2373, allocations: 4.5 kB / 448 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.2377, allocations: 139.1 kB / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2389, allocations: 0.6806 MB / 448.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.2391, allocations: 94.28 kB / 448.9 MB, free: 18.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.2392, allocations: 45.47 kB / 449 MB, free: 18.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.2392, allocations: 2.312 kB / 449 MB, free: 18.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2392, allocations: 36.91 kB / 449 MB, free: 18.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.2392, allocations: 0 / 449 MB, free: 18.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001725/0.2409, allocations: 0.6373 MB / 449.6 MB, free: 18.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.2409, allocations: 53.66 kB / 449.7 MB, free: 18.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2411, allocations: 206.5 kB / 449.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2411, allocations: 27.14 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.2412, allocations: 176.8 kB / 450.1 MB, free: 18.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.2413, allocations: 63.66 kB / 450.2 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.2413, allocations: 42.77 kB / 450.2 MB, free: 18.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.2414, allocations: 328.9 kB / 450.5 MB, free: 17.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2415, allocations: 60.28 kB / 450.6 MB, free: 17.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.2417, allocations: 106.1 kB / 450.7 MB, free: 17.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.242, allocations: 179 kB / 450.9 MB, free: 17.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.242, allocations: 0 / 450.9 MB, free: 17.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004948/0.2425, allocations: 281 kB / 451.1 MB, free: 17.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2425, allocations: 10.48 kB / 451.1 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2425, allocations: 2.969 kB / 451.1 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.2427, allocations: 66.92 kB / 451.2 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2429, allocations: 30.78 kB / 451.2 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.2445, allocations: 2.75 MB / 454 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2447, allocations: 10.47 kB / 454 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2447, allocations: 10.88 kB / 454 MB, free: 14.73 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.0001189/0.2448, allocations: 144.6 kB / 454.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.2449, allocations: 16.72 kB / 454.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.2449, allocations: 23.91 kB / 454.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2449, allocations: 3.312 kB / 454.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2449, allocations: 1.375 kB / 454.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2449, allocations: 5.234 kB / 454.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.2451, allocations: 194.5 kB / 454.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2452, allocations: 9.906 kB / 454.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.2452, allocations: 20.12 kB / 454.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.2454, allocations: 74.36 kB / 454.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2455, allocations: 0.7031 kB / 454.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.247, allocations: 2.742 MB / 457.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.247, allocations: 0 / 457.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.2476, allocations: 382 kB / 457.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.2477, allocations: 18.77 kB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.2477, allocations: 6.016 kB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2479, allocations: 22.55 kB / 457.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.2479, allocations: 18.11 kB / 457.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.248, allocations: 7.5 kB / 457.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.2481, allocations: 150.6 kB / 457.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2481, allocations: 0 / 457.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.2484, allocations: 63 kB / 457.9 MB, free: 11.4 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 9.733e-05/0.2485, allocations: 99.77 kB / 458 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006144/0.2491, allocations: 402.2 kB / 458.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2491, allocations: 1.25 kB / 458.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.2495, allocations: 322 kB / 458.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.2499, allocations: 29.94 kB / 458.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009708/0.2508, allocations: 478.2 kB / 459.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.251, allocations: 134.1 kB / 459.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.256e-05/0.2511, allocations: 20.09 kB / 459.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.2511, allocations: 19.98 kB / 459.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2511, allocations: 0 / 459.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of Templates: time 0.007772/0.2589, allocations: 2.644 MB / 462 MB, free: 10.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.047967839986086]