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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009328/0.0009328, allocations: 183 kB / 18.09 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 92.73 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3282/0.3282, allocations: 44.16 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 12 kB / 461.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4058, allocations: 61.88 MB / 0.5107 GB, free: 38.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5429, allocations: 88.81 MB / 0.5974 GB, free: 6.266 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.5431, allocations: 67.95 kB / 0.5975 GB, free: 6.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.5537, allocations: 4.061 MB / 0.6015 GB, free: 2.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.528e-06/0.5538, allocations: 0 / 0.6015 GB, free: 2.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.5538, allocations: 11.94 kB / 0.6015 GB, free: 2.109 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.0007405/0.5546, allocations: 0.5029 MB / 0.602 GB, free: 1.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5546, allocations: 8.031 kB / 0.602 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.5547, allocations: 28.66 kB / 0.602 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.555, allocations: 262.5 kB / 0.6023 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.5551, allocations: 12.81 kB / 0.6023 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.5551, allocations: 20.38 kB / 0.6023 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.5555, allocations: 191.8 kB / 0.6025 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5555, allocations: 192 / 0.6025 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.5555, allocations: 15.92 kB / 0.6025 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.5556, allocations: 4 kB / 0.6025 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.5558, allocations: 157.6 kB / 0.6026 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.5572, allocations: 0.8087 MB / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.5574, allocations: 98.48 kB / 0.6035 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.5575, allocations: 52.83 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.5575, allocations: 7.938 kB / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5576, allocations: 30.56 kB / 0.6036 GB, free: 15.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.5576, allocations: 4.219 kB / 0.6036 GB, free: 15.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001781/0.5594, allocations: 0.7427 MB / 0.6043 GB, free: 14.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.5594, allocations: 55.39 kB / 0.6044 GB, free: 14.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.5596, allocations: 203.8 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.5597, allocations: 29.7 kB / 0.6046 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5598, allocations: 167.8 kB / 0.6048 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.5598, allocations: 59.11 kB / 0.6048 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.5599, allocations: 4 kB / 0.6048 GB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.56, allocations: 330.8 kB / 0.6051 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.5602, allocations: 63.97 kB / 0.6052 GB, free: 14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.5603, allocations: 110.1 kB / 0.6053 GB, free: 13.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.5606, allocations: 182.9 kB / 0.6055 GB, free: 13.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5606, allocations: 0 / 0.6055 GB, free: 13.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005076/0.5611, allocations: 293.6 kB / 0.6058 GB, free: 13.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5612, allocations: 5.406 kB / 0.6058 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5612, allocations: 0 / 0.6058 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/0.5614, allocations: 77.78 kB / 0.6058 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.5616, allocations: 39.92 kB / 0.6059 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.564, allocations: 2.808 MB / 0.6086 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.5642, allocations: 12.06 kB / 0.6086 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.5642, allocations: 11.94 kB / 0.6087 GB, free: 10.16 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.5644, allocations: 135.8 kB / 0.6088 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.5644, allocations: 19.95 kB / 0.6088 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.5645, allocations: 25.86 kB / 0.6088 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5645, allocations: 3.938 kB / 0.6088 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.5645, allocations: 8 kB / 0.6088 GB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5645, allocations: 4.172 kB / 0.6088 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.5648, allocations: 277.5 kB / 0.6091 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5649, allocations: 3.938 kB / 0.6091 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.565, allocations: 19.98 kB / 0.6091 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.5652, allocations: 69.61 kB / 0.6092 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.5652, allocations: 7.984 kB / 0.6092 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.5675, allocations: 2.804 MB / 0.6119 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5675, allocations: 4.031 kB / 0.6119 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.5681, allocations: 406.6 kB / 0.6123 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.5682, allocations: 96.98 kB / 0.6124 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.5682, allocations: 0 / 0.6124 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.5684, allocations: 23.92 kB / 0.6124 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.5685, allocations: 19.97 kB / 0.6125 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.5685, allocations: 4 kB / 0.6125 GB, free: 5.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.5686, allocations: 144.2 kB / 0.6126 GB, free: 5.738 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5687, allocations: 4 kB / 0.6126 GB, free: 5.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003419/0.569, allocations: 68 kB / 0.6127 GB, free: 5.668 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001388/0.5691, allocations: 99.25 kB / 0.6128 GB, free: 5.559 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006643/0.5698, allocations: 421.2 kB / 0.6132 GB, free: 5.121 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5698, allocations: 0 / 0.6132 GB, free: 5.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.5703, allocations: 329.5 kB / 0.6135 GB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.5706, allocations: 34.67 kB / 0.6135 GB, free: 4.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009928/0.5716, allocations: 0.6048 MB / 0.6141 GB, free: 4.113 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.572, allocations: 0.744 MB / 0.6148 GB, free: 3.344 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.935e-05/0.5721, allocations: 29.92 kB / 0.6149 GB, free: 3.312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.5721, allocations: 15.44 kB / 0.6149 GB, free: 3.297 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5721, allocations: 0 / 0.6149 GB, free: 3.297 MB / 426.7 MB Notification: Performance of Templates: time 0.005605/0.5777, allocations: 2.456 MB / 0.6173 GB, free: 0.8633 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches