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.001011/0.001011, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 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.001095/0.001095, allocations: 164.3 kB / 25.61 MB, free: 8.852 MB / 18.57 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 0.9602/0.9602, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] 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.1474/0.1474, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.7 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.152e-06/1.152e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.36e-05, allocations: 4.281 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002008/0.002021, allocations: 2.583 MB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007284/0.00275, allocations: 0.6349 MB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.002838, allocations: 7.938 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.159e-05/0.002929, allocations: 43.58 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.003019, allocations: 75.28 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.003212, allocations: 87.81 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.003374, allocations: 298.6 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.003473, allocations: 68.7 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.003639, allocations: 179.6 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.003724, allocations: 87.72 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.003746, allocations: 24 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.003789, allocations: 24 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.003815, allocations: 59.75 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.003861, allocations: 79.83 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.004024, allocations: 199.3 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.004025, allocations: 0 / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004026, allocations: 0 / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.004031, allocations: 3.938 kB / 384.4 MB, free: 18.32 MB / 314.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.0003688/0.0044, allocations: 0.5623 MB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.004427, allocations: 12.03 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.004526, allocations: 56.73 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.004665, allocations: 197.2 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.004676, allocations: 16.88 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.004698, allocations: 16.38 kB / 385.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.004844, allocations: 230.4 kB / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004851, allocations: 192 / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.004863, allocations: 8.375 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004868, allocations: 7.938 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/0.004936, allocations: 59.44 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.005473, allocations: 0.6875 MB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.731e-05/0.00555, allocations: 83.02 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.005574, allocations: 27.67 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.005584, allocations: 0 / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.005597, allocations: 37.39 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.005598, allocations: 0 / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006584/0.006256, allocations: 0.4943 MB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.17e-05/0.006268, allocations: 51.41 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.006346, allocations: 254 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.006354, allocations: 29.7 kB / 387.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.006402, allocations: 222.9 kB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.006422, allocations: 55.47 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.006464, allocations: 51.34 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.006504, allocations: 0.4962 MB / 388 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.00653, allocations: 19.98 kB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.006572, allocations: 86.23 kB / 388.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.006655, allocations: 133 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.006656, allocations: 0 / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002001/0.006857, allocations: 204.6 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.006867, allocations: 8.156 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006871, allocations: 11.92 kB / 388.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.007038, allocations: 87.31 kB / 388.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.00711, allocations: 35.86 kB / 388.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.008134, allocations: 3.588 MB / 392.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.008199, allocations: 11.94 kB / 392.2 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.008207, allocations: 8.172 kB / 392.2 MB, free: 9.938 MB / 314.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 6.969e-05/0.008277, allocations: 172.6 kB / 392.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.008307, allocations: 19.91 kB / 392.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.008324, allocations: 21.81 kB / 392.4 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008326, allocations: 4 kB / 392.4 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.00833, allocations: 3.984 kB / 392.4 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008333, allocations: 0 / 392.4 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.008453, allocations: 165.1 kB / 392.6 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008455, allocations: 0 / 392.6 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.00849, allocations: 19.92 kB / 392.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.00864, allocations: 87.31 kB / 392.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.008649, allocations: 7.984 kB / 392.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008659/0.009515, allocations: 3.585 MB / 396.3 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.009516, allocations: 0 / 396.3 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.00972, allocations: 338.9 kB / 396.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.009734, allocations: 19.98 kB / 396.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.009747, allocations: 3.938 kB / 396.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.009828, allocations: 16.14 kB / 396.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.009866, allocations: 23.94 kB / 396.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.009873, allocations: 4 kB / 396.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.009919, allocations: 172.1 kB / 396.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009919, allocations: 3.938 kB / 396.8 MB, free: 4.988 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.01013, allocations: 60 kB / 396.9 MB, free: 4.93 MB / 314.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 6.181e-05/0.01019, allocations: 103.2 kB / 397 MB, free: 4.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.01045, allocations: 458.5 kB / 397.5 MB, free: 4.336 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.01045, allocations: 3.984 kB / 397.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.01061, allocations: 423.4 kB / 397.9 MB, free: 3.879 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.01081, allocations: 24 kB / 397.9 MB, free: 3.855 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.01147, allocations: 470.8 kB / 398.4 MB, free: 3.371 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01151, allocations: 84.31 kB / 398.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.01156, allocations: 21.62 kB / 398.5 MB, free: 3.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.01164, allocations: 106.1 kB / 398.6 MB, free: 3.145 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01164, allocations: 0 / 398.6 MB, free: 3.145 MB / 314.7 MB Notification: Performance of Templates: time 0.004216/0.01586, allocations: 2.934 MB / 401.5 MB, free: 260 kB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.154034703038633]