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.001424/0.001424, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.382/1.382, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008041/0.0008041, allocations: 95.97 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2059/0.2059, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.919e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.156, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5735, allocations: 88.71 MB / 0.5883 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.5737, allocations: 63.97 kB / 0.5884 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01038/0.5841, allocations: 4.069 MB / 0.5924 GB, free: 12.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5842, allocations: 0 / 0.5924 GB, free: 12.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.5842, allocations: 4 kB / 0.5924 GB, free: 12.47 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.0006267/0.5848, allocations: 0.4905 MB / 0.5928 GB, free: 11.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5849, allocations: 8.031 kB / 0.5929 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.5849, allocations: 26.67 kB / 0.5929 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.5853, allocations: 243.5 kB / 0.5931 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5853, allocations: 24.39 kB / 0.5931 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.5854, allocations: 24 kB / 0.5932 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.5857, allocations: 179.3 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5857, allocations: 0 / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.5858, allocations: 8 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.5858, allocations: 11.98 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.586, allocations: 125.7 kB / 0.5935 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.5874, allocations: 0.8142 MB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.5876, allocations: 98.47 kB / 0.5944 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.525e-05/0.5877, allocations: 44.84 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.5877, allocations: 0 / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.5878, allocations: 34.56 kB / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.5878, allocations: 0 / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001462/0.5892, allocations: 0.6294 MB / 0.595 GB, free: 9.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.5893, allocations: 55.41 kB / 0.5951 GB, free: 9.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.5895, allocations: 187 kB / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5896, allocations: 33.7 kB / 0.5953 GB, free: 9.176 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.5897, allocations: 167.8 kB / 0.5955 GB, free: 9.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.5897, allocations: 59.19 kB / 0.5955 GB, free: 8.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.5898, allocations: 0 / 0.5955 GB, free: 8.949 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5899, allocations: 326.8 kB / 0.5958 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.59, allocations: 55.98 kB / 0.5959 GB, free: 8.566 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.5901, allocations: 97.09 kB / 0.596 GB, free: 8.453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.5903, allocations: 61.81 kB / 0.596 GB, free: 8.395 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5903, allocations: 7.828 kB / 0.596 GB, free: 8.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004286/0.5907, allocations: 255 kB / 0.5963 GB, free: 8.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.5908, allocations: 11.94 kB / 0.5963 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5908, allocations: 4 kB / 0.5963 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/0.591, allocations: 61.69 kB / 0.5964 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.5912, allocations: 35.92 kB / 0.5964 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.5935, allocations: 2.808 MB / 0.5991 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.5936, allocations: 8.031 kB / 0.5992 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.5937, allocations: 8 kB / 0.5992 GB, free: 4.918 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 9.181e-05/0.5938, allocations: 117 kB / 0.5993 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.5938, allocations: 19.77 kB / 0.5993 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.5939, allocations: 25.8 kB / 0.5993 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5939, allocations: 4.359 kB / 0.5993 GB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.5939, allocations: 0 / 0.5993 GB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.5939, allocations: 3.984 kB / 0.5993 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.5942, allocations: 285.7 kB / 0.5996 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5942, allocations: 11.94 kB / 0.5996 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.5943, allocations: 23.92 kB / 0.5996 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.5945, allocations: 69.62 kB / 0.5997 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.5945, allocations: 4 kB / 0.5997 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.5965, allocations: 2.793 MB / 0.6024 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.5965, allocations: 7.922 kB / 0.6024 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.597, allocations: 361.6 kB / 0.6028 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.5971, allocations: 96.94 kB / 0.6029 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.5971, allocations: 3.953 kB / 0.6029 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.5973, allocations: 23.98 kB / 0.6029 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.5973, allocations: 11.98 kB / 0.6029 GB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.5973, allocations: 7.984 kB / 0.6029 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.5975, allocations: 149.6 kB / 0.6031 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5975, allocations: 0 / 0.6031 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.5978, allocations: 64 kB / 0.6031 GB, free: 0.4922 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.0001357/0.5979, allocations: 103.2 kB / 0.6032 GB, free: 392 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005611/0.5985, allocations: 397.6 kB / 0.6036 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5985, allocations: 224 / 0.6036 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.5989, allocations: 309.2 kB / 0.6039 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.5991, allocations: 25.39 kB / 0.6039 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.5998, allocations: 348.4 kB / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.6001, allocations: 0.7557 MB / 0.605 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.878e-05/0.6002, allocations: 14.08 kB / 0.605 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.6003, allocations: 19.44 kB / 0.605 GB, free: 14.44 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6003, allocations: 0 / 0.605 GB, free: 14.44 MB / 426.7 MB Notification: Performance of Templates: time 0.005324/0.6056, allocations: 2.433 MB / 0.6074 GB, free: 12.03 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/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