Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002234/0.002234, allocations: 186 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 222.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 97.23 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5117/0.5117, allocations: 43.57 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004727, allocations: 16 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1244, allocations: 58.83 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4553/0.5798, allocations: 87.08 MB / 0.5638 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.5801, allocations: 67.97 kB / 0.5638 GB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.5972, allocations: 3.897 MB / 0.5676 GB, free: 11.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5973, allocations: 0 / 0.5676 GB, free: 11.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.5973, allocations: 8 kB / 0.5676 GB, free: 11.71 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.001027/0.5983, allocations: 0.5063 MB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.5984, allocations: 15.75 kB / 0.5681 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.5985, allocations: 27.16 kB / 0.5682 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.599, allocations: 255 kB / 0.5684 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.599, allocations: 12.44 kB / 0.5684 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.5991, allocations: 20 kB / 0.5684 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.5996, allocations: 191.3 kB / 0.5686 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.5997, allocations: 2.562 kB / 0.5686 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.5997, allocations: 5.031 kB / 0.5686 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.5997, allocations: 4 kB / 0.5686 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.6002, allocations: 149.6 kB / 0.5688 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.6023, allocations: 0.823 MB / 0.5696 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.6026, allocations: 98.48 kB / 0.5697 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.6026, allocations: 0 / 0.5697 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.6027, allocations: 34.56 kB / 0.5697 GB, free: 9.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.6027, allocations: 4 kB / 0.5697 GB, free: 9.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002767/0.6055, allocations: 0.7442 MB / 0.5704 GB, free: 8.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.6056, allocations: 51.41 kB / 0.5705 GB, free: 8.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.6059, allocations: 187 kB / 0.5707 GB, free: 8.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.6059, allocations: 29.7 kB / 0.5707 GB, free: 8.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.6061, allocations: 227 kB / 0.5709 GB, free: 8.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.6061, allocations: 55.2 kB / 0.571 GB, free: 8.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.6062, allocations: 4 kB / 0.571 GB, free: 8.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6063, allocations: 330.8 kB / 0.5713 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.6066, allocations: 59.97 kB / 0.5713 GB, free: 7.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.6069, allocations: 112.2 kB / 0.5714 GB, free: 7.527 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.6071, allocations: 79.92 kB / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6072, allocations: 0 / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008928/0.6081, allocations: 271.6 kB / 0.5718 GB, free: 7.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.6081, allocations: 8 kB / 0.5718 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6081, allocations: 0 / 0.5718 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.6085, allocations: 77.83 kB / 0.5719 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.6089, allocations: 35.91 kB / 0.5719 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.612, allocations: 2.84 MB / 0.5747 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.6124, allocations: 12.03 kB / 0.5747 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.6125, allocations: 15.92 kB / 0.5747 GB, free: 3.914 MB / 394.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.0002218/0.6127, allocations: 134.7 kB / 0.5748 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.6128, allocations: 15.81 kB / 0.5748 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.6128, allocations: 21.88 kB / 0.5749 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6129, allocations: 12.05 kB / 0.5749 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.6129, allocations: 0 / 0.5749 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6129, allocations: 0 / 0.5749 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.6133, allocations: 285.5 kB / 0.5751 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6134, allocations: 3.984 kB / 0.5751 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.6136, allocations: 19.94 kB / 0.5752 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003416/0.6139, allocations: 65.66 kB / 0.5752 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.614, allocations: 9.141 kB / 0.5752 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/0.617, allocations: 2.819 MB / 0.578 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6171, allocations: 0 / 0.578 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.6182, allocations: 408.8 kB / 0.5784 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.6183, allocations: 96.94 kB / 0.5785 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.6184, allocations: 0 / 0.5785 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.6187, allocations: 23.98 kB / 0.5785 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.6188, allocations: 12.75 kB / 0.5785 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.6188, allocations: 4.375 kB / 0.5785 GB, free: 15.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.6191, allocations: 161.5 kB / 0.5787 GB, free: 15.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.575e-06/0.6191, allocations: 0 / 0.5787 GB, free: 15.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005532/0.6196, allocations: 67.94 kB / 0.5787 GB, free: 15.41 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 () * 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.0001651/0.6198, allocations: 103.2 kB / 0.5788 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.6209, allocations: 419.6 kB / 0.5792 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6209, allocations: 0 / 0.5792 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.6216, allocations: 339.6 kB / 0.5796 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.622, allocations: 28.27 kB / 0.5796 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.6235, allocations: 0.628 MB / 0.5802 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.6239, allocations: 0.7595 MB / 0.5809 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.624, allocations: 27.36 kB / 0.581 GB, free: 13.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.624, allocations: 0 / 0.581 GB, free: 13.02 MB / 410.7 MB Notification: Performance of Templates: time 0.01021/0.6342, allocations: 4.366 MB / 0.5852 GB, free: 8.66 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches