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.0008075/0.0008075, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009802/0.001788, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006902/0.0006902, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008517/0.001542, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9459/0.9459, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1341/1.08, allocations: 53.85 MB / 243.7 MB, free: 14.91 MB / 250.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.2417/0.2417, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02729/0.269, allocations: 13.23 MB / 292.6 MB, free: 6.457 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.653e-06/1.653e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.358e-05, allocations: 4.422 kB / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003823/0.003846, allocations: 2.623 MB / 296.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.005099, allocations: 0.6825 MB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.005236, allocations: 8 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.005339, allocations: 47.5 kB / 297.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.005482, allocations: 75.28 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.005701, allocations: 79.77 kB / 297.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.006012, allocations: 306.6 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.006163, allocations: 66.73 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.006485, allocations: 196.3 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.006621, allocations: 83.78 kB / 298 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.006656, allocations: 24 kB / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.913e-05/0.006745, allocations: 31.92 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.006783, allocations: 43.81 kB / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.006868, allocations: 71.88 kB / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.007157, allocations: 171.4 kB / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.007173, allocations: 0 / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007174, allocations: 3.938 kB / 298.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.00719, allocations: 0 / 298.3 MB, free: 0.707 MB / 282.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.0006619/0.007852, allocations: 0.4971 MB / 298.8 MB, free: 192 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.007886, allocations: 8.922 kB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.008071, allocations: 122 kB / 298.9 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.00832, allocations: 165.9 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.00834, allocations: 16.88 kB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.008375, allocations: 24.38 kB / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.00863, allocations: 238.1 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.008638, allocations: 0 / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.00866, allocations: 12 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.008668, allocations: 4 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.431e-05/0.008762, allocations: 47.48 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.009527, allocations: 0.5592 MB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.009629, allocations: 66.48 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.009665, allocations: 32.83 kB / 300.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.009678, allocations: 0 / 300.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.009699, allocations: 38.56 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.009701, allocations: 4 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001144/0.01084, allocations: 0.5289 MB / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.01088, allocations: 59.34 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.01102, allocations: 187.5 kB / 300.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.01104, allocations: 25.7 kB / 300.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.01112, allocations: 168.2 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.01116, allocations: 55.47 kB / 301.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.01122, allocations: 53.64 kB / 301.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.01134, allocations: 326.8 kB / 301.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.01137, allocations: 19.98 kB / 301.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.01144, allocations: 61.12 kB / 301.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.01155, allocations: 101 kB / 301.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01155, allocations: 0 / 301.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002497/0.0118, allocations: 180.8 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01182, allocations: 6.5 kB / 301.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01182, allocations: 0 / 301.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.01204, allocations: 85.75 kB / 302 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.01216, allocations: 35.97 kB / 302 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.0136, allocations: 2.469 MB / 304.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.0137, allocations: 11.94 kB / 304.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.01371, allocations: 8 kB / 304.5 MB, free: 10.07 MB / 298.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 8.665e-05/0.0138, allocations: 125.8 kB / 304.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.01383, allocations: 19.98 kB / 304.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.01386, allocations: 17.81 kB / 304.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01387, allocations: 0 / 304.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.01387, allocations: 8.031 kB / 304.7 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01388, allocations: 7.922 kB / 304.7 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.01409, allocations: 125.8 kB / 304.8 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01409, allocations: 0 / 304.8 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.01415, allocations: 19.98 kB / 304.8 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.01417, allocations: 15.86 kB / 304.8 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.01436, allocations: 81.58 kB / 304.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01437, allocations: 8 kB / 304.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.01594, allocations: 2.463 MB / 307.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.01594, allocations: 0 / 307.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.0162, allocations: 256.9 kB / 307.6 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.01622, allocations: 7.938 kB / 307.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.01632, allocations: 16.17 kB / 307.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.01637, allocations: 19.97 kB / 307.7 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01638, allocations: 8.062 kB / 307.7 MB, free: 6.652 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.724e-05/0.01644, allocations: 64.61 kB / 307.7 MB, free: 6.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01644, allocations: 0 / 307.7 MB, free: 6.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.01673, allocations: 64 kB / 307.8 MB, free: 6.523 MB / 298.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 9.691e-05/0.01683, allocations: 80.34 kB / 307.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006728/0.0175, allocations: 341.3 kB / 308.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.01752, allocations: 4 kB / 308.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.01778, allocations: 301.9 kB / 308.5 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.01807, allocations: 38.39 kB / 308.5 MB, free: 5.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.02123, allocations: 491.4 kB / 309 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.615e-05/0.02131, allocations: 92.3 kB / 309.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.18e-05/0.02139, allocations: 17.67 kB / 309.1 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.0215, allocations: 83.36 kB / 309.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0215, allocations: 0 / 309.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of Templates: time 0.005687/0.02719, allocations: 2.944 MB / 312.2 MB, free: 2.098 MB / 298.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 -ignoreHideResult -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: 2.790738731622696]