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.001392/0.001392, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001127/0.001127, allocations: 164.9 kB / 24.99 MB, free: 8.793 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.2799/0.2799, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.292e-06/1.292e-06, allocations: 0 / 376 MB, free: 5.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.627e-05, allocations: 2.312 kB / 376 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002645/0.002661, allocations: 2.596 MB / 378.6 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009/0.003561, allocations: 0.6541 MB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.003669, allocations: 4 kB / 379.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.003787, allocations: 39.58 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.00389, allocations: 71.3 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.004142, allocations: 95.73 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.004376, allocations: 302.6 kB / 379.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.004517, allocations: 60.78 kB / 379.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.004727, allocations: 175.6 kB / 379.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.004833, allocations: 79.78 kB / 380 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.004862, allocations: 24 kB / 380 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.125e-05/0.004913, allocations: 24 kB / 380.1 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.004947, allocations: 63.73 kB / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.005009, allocations: 87.83 kB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.005218, allocations: 203.2 kB / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005221, allocations: 0 / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005221, allocations: 0 / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.005226, allocations: 0 / 380.4 MB, free: 0.5625 MB / 346.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.0005535/0.005779, allocations: 0.5585 MB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.005811, allocations: 8.031 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.005939, allocations: 60.69 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.00615, allocations: 200.7 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.006165, allocations: 12.88 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.006196, allocations: 20.38 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.006443, allocations: 238.5 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.006453, allocations: 4.125 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.006472, allocations: 12.38 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.006483, allocations: 7.938 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.00661, allocations: 78.94 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.007406, allocations: 0.7143 MB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.007523, allocations: 86.97 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.007568, allocations: 31.67 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.007582, allocations: 4 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.007605, allocations: 37.39 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.007606, allocations: 0 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009397/0.008546, allocations: 0.5354 MB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.008572, allocations: 59.34 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.00872, allocations: 254.7 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.008734, allocations: 25.7 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.008824, allocations: 218.9 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.008855, allocations: 59.48 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.008906, allocations: 47.36 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.009017, allocations: 0.5 MB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.009221, allocations: 23.98 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.26e-05/0.009314, allocations: 90.09 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.009456, allocations: 136.4 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009458, allocations: 4 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002714/0.009729, allocations: 216.8 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.009744, allocations: 15.94 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.009749, allocations: 3.938 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.01, allocations: 91.31 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.01009, allocations: 27.98 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.01175, allocations: 3.653 MB / 388.4 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.01181, allocations: 4.188 kB / 388.4 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01183, allocations: 16.06 kB / 388.4 MB, free: 7.945 MB / 362.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.745e-05/0.01192, allocations: 164.5 kB / 388.6 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.01196, allocations: 27.86 kB / 388.6 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.01198, allocations: 25.8 kB / 388.6 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01198, allocations: 7.938 kB / 388.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01199, allocations: 0 / 388.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01199, allocations: 96 / 388.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.01214, allocations: 192.6 kB / 388.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.01214, allocations: 3.984 kB / 388.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.01218, allocations: 19.98 kB / 388.9 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001874/0.01237, allocations: 91.23 kB / 388.9 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01238, allocations: 0 / 388.9 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.01406, allocations: 3.646 MB / 392.6 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01406, allocations: 3.938 kB / 392.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.01437, allocations: 370 kB / 393 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.01439, allocations: 15.89 kB / 393 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.0144, allocations: 4 kB / 393 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.01449, allocations: 15.98 kB / 393 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.01454, allocations: 15.97 kB / 393 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.01455, allocations: 4 kB / 393 MB, free: 3.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.612e-05/0.01463, allocations: 179.2 kB / 393.2 MB, free: 2.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01463, allocations: 0 / 393.2 MB, free: 2.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.01486, allocations: 67.94 kB / 393.3 MB, free: 2.793 MB / 362.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.524e-05/0.01494, allocations: 107.2 kB / 393.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004148/0.01536, allocations: 474.8 kB / 393.8 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01536, allocations: 0 / 393.8 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.01559, allocations: 419.6 kB / 394.2 MB, free: 1.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.01582, allocations: 27.98 kB / 394.3 MB, free: 1.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008816/0.0167, allocations: 474.3 kB / 394.7 MB, free: 1.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.624e-05/0.01675, allocations: 88.31 kB / 394.8 MB, free: 1.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.0168, allocations: 13.64 kB / 394.8 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.01684, allocations: 20.44 kB / 394.8 MB, free: 1.066 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01684, allocations: 0 / 394.8 MB, free: 1.066 MB / 362.7 MB Notification: Performance of Templates: time 0.004994/0.02183, allocations: 2.721 MB / 397.6 MB, free: 14.38 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] 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","",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.3185664070770144]