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.001008/0.001008, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008451/0.0008451, allocations: 95.41 kB / 281.6 MB, free: 5.316 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.2154/0.2154, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.581e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1265, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.5231, allocations: 88.05 MB / 0.5806 GB, free: 8.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.5234, allocations: 63.97 kB / 0.5807 GB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01038/0.5338, allocations: 4.028 MB / 0.5846 GB, free: 4.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5338, allocations: 0 / 0.5846 GB, free: 4.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.5339, allocations: 4 kB / 0.5846 GB, free: 4.355 MB / 394.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.0006424/0.5345, allocations: 496.8 kB / 0.5851 GB, free: 3.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5346, allocations: 11.98 kB / 0.5851 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.5346, allocations: 27.72 kB / 0.5852 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.535, allocations: 252.6 kB / 0.5854 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.535, allocations: 15.94 kB / 0.5854 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.535, allocations: 12 kB / 0.5854 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002325/0.5353, allocations: 120.9 kB / 0.5855 GB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.5356, allocations: 154.4 kB / 0.5857 GB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.5356, allocations: 0 / 0.5857 GB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.5356, allocations: 0.5625 kB / 0.5857 GB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5356, allocations: 4 kB / 0.5857 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.5368, allocations: 0.7594 MB / 0.5864 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.5369, allocations: 82.52 kB / 0.5865 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.537, allocations: 48.8 kB / 0.5866 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.537, allocations: 7.938 kB / 0.5866 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.5371, allocations: 34.56 kB / 0.5866 GB, free: 2.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.5371, allocations: 0 / 0.5866 GB, free: 2.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.00123/0.5383, allocations: 0.5978 MB / 0.5872 GB, free: 1.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.5383, allocations: 55.41 kB / 0.5872 GB, free: 1.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.5385, allocations: 169.9 kB / 0.5874 GB, free: 1.285 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.5385, allocations: 25.7 kB / 0.5874 GB, free: 1.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.5386, allocations: 171.9 kB / 0.5876 GB, free: 1.078 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.5387, allocations: 59.19 kB / 0.5876 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.5387, allocations: 0 / 0.5876 GB, free: 1.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5388, allocations: 326.8 kB / 0.588 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.5389, allocations: 48 kB / 0.588 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.539, allocations: 89.08 kB / 0.5881 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.378e-05/0.5391, allocations: 59.94 kB / 0.5881 GB, free: 492 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5391, allocations: 3.938 kB / 0.5881 GB, free: 488 kB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003634/0.5395, allocations: 231.1 kB / 0.5884 GB, free: 244 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5395, allocations: 8.031 kB / 0.5884 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5395, allocations: 4 kB / 0.5884 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/0.5397, allocations: 65.64 kB / 0.5884 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.5399, allocations: 39.91 kB / 0.5885 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.5418, allocations: 2.677 MB / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.5419, allocations: 12.02 kB / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.542, allocations: 4 kB / 0.5911 GB, free: 13.2 MB / 410.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 () * 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 8.375e-05/0.542, allocations: 118.1 kB / 0.5912 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.5421, allocations: 19.8 kB / 0.5912 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.5421, allocations: 25.95 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.5421, allocations: 3.953 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5422, allocations: 4 kB / 0.5913 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5422, allocations: 0 / 0.5913 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.5424, allocations: 238.1 kB / 0.5915 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5424, allocations: 0 / 0.5915 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.5425, allocations: 15.98 kB / 0.5915 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001597/0.5427, allocations: 70.05 kB / 0.5916 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5427, allocations: 0 / 0.5916 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.5444, allocations: 2.681 MB / 0.5942 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5444, allocations: 0 / 0.5942 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.5449, allocations: 360.1 kB / 0.5945 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.5449, allocations: 92.94 kB / 0.5946 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.545, allocations: 0 / 0.5946 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.5451, allocations: 20.11 kB / 0.5947 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.5452, allocations: 15.98 kB / 0.5947 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5452, allocations: 4.188 kB / 0.5947 GB, free: 9.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.77e-05/0.5453, allocations: 144 kB / 0.5948 GB, free: 9.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5453, allocations: 0 / 0.5948 GB, free: 9.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003354/0.5457, allocations: 56 kB / 0.5949 GB, free: 9.047 MB / 410.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 () * 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.0001148/0.5458, allocations: 99.25 kB / 0.595 GB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004916/0.5463, allocations: 369.4 kB / 0.5953 GB, free: 8.562 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5463, allocations: 3.938 kB / 0.5953 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.5466, allocations: 303.9 kB / 0.5956 GB, free: 8.242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.5469, allocations: 20.12 kB / 0.5956 GB, free: 8.219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.5475, allocations: 337.3 kB / 0.5959 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.5478, allocations: 0.7477 MB / 0.5967 GB, free: 7.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.25e-05/0.5479, allocations: 17.86 kB / 0.5967 GB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.548, allocations: 19.42 kB / 0.5967 GB, free: 7.043 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.548, allocations: 0 / 0.5967 GB, free: 7.043 MB / 410.7 MB Notification: Performance of Templates: time 0.004736/0.5527, allocations: 2.156 MB / 0.5988 GB, free: 4.902 MB / 410.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/jenkins/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