Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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) 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(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002677/0.002677, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.023/3.023, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.001199/0.001199, allocations: 89.92 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005594/0.0005597, allocations: 11.98 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4939, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.6623, allocations: 80.56 MB / 456.3 MB, free: 76 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004301/0.6628, allocations: 67.97 kB / 456.3 MB, free: 8 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07459/0.7374, allocations: 18.47 MB / 474.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.019e-06/0.7375, allocations: 3.938 kB / 474.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002179/0.7377, allocations: 32 kB / 474.8 MB, free: 13.37 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.007328/0.7451, allocations: 1.434 MB / 476.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.428e-05/0.7452, allocations: 8.031 kB / 476.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.7465, allocations: 143.2 kB / 476.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.7504, allocations: 0.8888 MB / 477.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.7506, allocations: 86.59 kB / 477.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006856/0.7513, allocations: 116.3 kB / 477.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006534/0.7579, allocations: 1.505 MB / 479 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.758, allocations: 192 / 479 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003808/0.7584, allocations: 51.94 kB / 479.1 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.7585, allocations: 28 kB / 479.1 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004531/0.763, allocations: 1.234 MB / 480.3 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/0.777, allocations: 4.256 MB / 484.6 MB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.7792, allocations: 1.319 MB / 485.9 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.7805, allocations: 462.5 kB / 486.4 MB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.7806, allocations: 4.438 kB / 486.4 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.7806, allocations: 42.94 kB / 486.4 MB, free: 1.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 7.033e-06/0.7807, allocations: 0 / 486.4 MB, free: 1.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.006437/0.7871, allocations: 1.966 MB / 488.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.7873, allocations: 59.78 kB / 488.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.7898, allocations: 0.8087 MB / 489.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.79, allocations: 33.7 kB / 489.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000697/0.7907, allocations: 0.5375 MB / 489.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.791, allocations: 177.4 kB / 490 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.7911, allocations: 12 kB / 490 MB, free: 13.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00032/0.7914, allocations: 382.8 kB / 490.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009358/0.7924, allocations: 308.9 kB / 490.7 MB, free: 12.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.7934, allocations: 411.3 kB / 491.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.7953, allocations: 0.7067 MB / 491.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.7953, allocations: 0 / 491.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002919/0.7982, allocations: 0.9242 MB / 492.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.7983, allocations: 11.94 kB / 492.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.7984, allocations: 0 / 492.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005551/0.7989, allocations: 112.9 kB / 492.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/0.7998, allocations: 127.8 kB / 492.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.8037, allocations: 2.189 MB / 495.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.8047, allocations: 28.02 kB / 495.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.8049, allocations: 23.98 kB / 495.2 MB, free: 8.207 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001515/0.8064, allocations: 449.5 kB / 495.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.8068, allocations: 75.09 kB / 495.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.8072, allocations: 95.08 kB / 495.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.8072, allocations: 4.062 kB / 495.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.8073, allocations: 8 kB / 495.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.8073, allocations: 7.922 kB / 495.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006484/0.8138, allocations: 2.041 MB / 497.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.8139, allocations: 0 / 497.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.8145, allocations: 99.81 kB / 498 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00039/0.8149, allocations: 104.7 kB / 498.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.815, allocations: 16.17 kB / 498.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.8184, allocations: 2.142 MB / 0.4885 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8184, allocations: 0 / 0.4885 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.8215, allocations: 1.215 MB / 0.4897 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/0.8222, allocations: 160.3 kB / 0.4898 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000408/0.8226, allocations: 11.98 kB / 0.4898 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.8237, allocations: 59.95 kB / 0.4899 GB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.824, allocations: 44.36 kB / 0.4899 GB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.106e-05/0.8241, allocations: 16 kB / 0.49 GB, free: 1.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001776/0.8259, allocations: 0.581 MB / 0.4905 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8259, allocations: 0 / 0.4905 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001615/0.8275, allocations: 208 kB / 0.4907 GB, free: 0.6133 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003352/0.8279, allocations: 115.2 kB / 0.4908 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.3197/1.148, allocations: 0.8242 MB / 0.4916 GB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/1.148, allocations: 0.5 kB / 0.4916 GB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/1.149, allocations: 0.4932 MB / 0.4921 GB, free: 103.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.152, allocations: 164.7 kB / 0.4923 GB, free: 103.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007982/1.16, allocations: 2.63 MB / 0.4948 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/1.161, allocations: 1.319 MB / 0.4961 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/1.162, allocations: 49.81 kB / 0.4962 GB, free: 102.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/1.162, allocations: 1.375 kB / 0.4962 GB, free: 102.1 MB / 378.7 MB Notification: Performance of Templates: time 0.04545/1.207, allocations: 18.64 MB / 0.5144 GB, free: 97.22 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches