Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.982/1.982, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001078/0.001078, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.876e-05, allocations: 7.984 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09004, allocations: 47.58 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4111/0.5012, allocations: 89.34 MB / 458.4 MB, free: 3.957 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.5016, allocations: 84.83 kB / 458.5 MB, free: 3.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9343/1.436, allocations: 218.4 MB / 0.661 GB, free: 21.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.654e-06/1.436, allocations: 4 kB / 0.661 GB, free: 21.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003085/1.436, allocations: 139.9 kB / 0.6611 GB, free: 20.99 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02773/1.464, allocations: 6.168 MB / 0.6672 GB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.464, allocations: 8.031 kB / 0.6672 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03021/1.494, allocations: 3.517 MB / 0.6706 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/1.506, allocations: 3.944 MB / 0.6745 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007859/1.507, allocations: 497.2 kB / 0.6749 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002859/1.51, allocations: 0.6288 MB / 0.6755 GB, free: 6.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3379/1.848, allocations: 10.75 MB / 0.686 GB, free: 48.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003595/1.848, allocations: 12.42 kB / 0.6861 GB, free: 48.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002662/1.851, allocations: 275.4 kB / 0.6863 GB, free: 48.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009331/1.852, allocations: 469.8 kB / 0.6868 GB, free: 48.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03026/1.882, allocations: 9.581 MB / 0.6961 GB, free: 48.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08582/1.968, allocations: 33.53 MB / 0.7289 GB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02/1.988, allocations: 13.31 MB / 0.7419 GB, free: 34.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01109/1.999, allocations: 4.778 MB / 0.7465 GB, free: 32.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03547/2.035, allocations: 15.17 MB / 0.7613 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/2.035, allocations: 81.11 kB / 0.7614 GB, free: 24.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=480): time 9.248e-06/2.035, allocations: 0 / 0.7614 GB, free: 24.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=480): time 0.01776/2.053, allocations: 7.79 MB / 0.769 GB, free: 21.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/2.053, allocations: 116.7 kB / 0.7691 GB, free: 21.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/2.056, allocations: 1.544 MB / 0.7706 GB, free: 20.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008939/2.057, allocations: 80.89 kB / 0.7707 GB, free: 20.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/2.058, allocations: 2.406 MB / 0.7731 GB, free: 19.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002233/2.061, allocations: 1.586 MB / 0.7746 GB, free: 17.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005487/2.061, allocations: 84.06 kB / 0.7747 GB, free: 17.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003672/2.062, allocations: 0.5232 MB / 0.7752 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007012/2.069, allocations: 3.076 MB / 0.7782 GB, free: 16.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008158/2.077, allocations: 4.13 MB / 0.7822 GB, free: 13.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008396/2.085, allocations: 3.75 MB / 0.7859 GB, free: 12.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.126e-05/2.085, allocations: 8.969 kB / 0.7859 GB, free: 12.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=674) (initialization): time 0.02158/2.107, allocations: 9.24 MB / 0.7949 GB, free: 5.477 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/2.107, allocations: 16 kB / 0.795 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.787e-05/2.107, allocations: 28 kB / 0.795 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007068/2.114, allocations: 2.713 MB / 0.7976 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005926/2.12, allocations: 0.7529 MB / 0.7984 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/2.135, allocations: 9.655 MB / 0.8078 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005333/2.14, allocations: 0.5027 MB / 0.8083 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/2.142, allocations: 218.5 kB / 0.8085 GB, free: 8.742 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001224/2.143, allocations: 343.8 kB / 0.8088 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/2.144, allocations: 268.5 kB / 0.8091 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02339/2.167, allocations: 8.56 MB / 0.8174 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002823/2.168, allocations: 141 kB / 0.8176 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/2.168, allocations: 2.812 kB / 0.8176 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-05/2.168, allocations: 17.39 kB / 0.8176 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/2.185, allocations: 7.042 MB / 0.8245 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.084e-05/2.185, allocations: 2.844 kB / 0.8245 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004156/2.189, allocations: 433.3 kB / 0.8249 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008124/2.198, allocations: 2.66 MB / 0.8275 GB, free: 8.555 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/2.199, allocations: 101.1 kB / 0.8276 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/2.214, allocations: 9.628 MB / 0.837 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.214, allocations: 1.312 kB / 0.837 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03289/2.247, allocations: 12.64 MB / 0.8493 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/2.249, allocations: 426 kB / 0.8497 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.25, allocations: 64 kB / 0.8498 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/2.253, allocations: 139.2 kB / 0.8499 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/2.255, allocations: 361.7 kB / 0.8503 GB, free: 3.422 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005102/2.255, allocations: 127.3 kB / 0.8504 GB, free: 3.312 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002709/2.258, allocations: 1.121 MB / 0.8515 GB, free: 2.324 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.32e-07/2.258, allocations: 0 / 0.8515 GB, free: 2.324 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007156/2.265, allocations: 1.582 MB / 0.853 GB, free: 0.7383 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/2.266, allocations: 225.1 kB / 0.8532 GB, free: 0.543 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3322/2.599, allocations: 7.752 MB / 0.8608 GB, free: 94.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/2.599, allocations: 3.531 kB / 0.8608 GB, free: 94.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.011/2.61, allocations: 3.786 MB / 0.8645 GB, free: 94.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/2.614, allocations: 447.8 kB / 0.8649 GB, free: 94.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/2.648, allocations: 11.74 MB / 0.8764 GB, free: 92.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007411/2.656, allocations: 4.291 MB / 0.8806 GB, free: 92.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/2.657, allocations: 228.3 kB / 0.8808 GB, free: 92.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.292e-06/2.657, allocations: 0 / 0.8808 GB, free: 92.12 MB / 458.7 MB Notification: Performance of Templates: time 0.7371/3.395, allocations: 303.5 MB / 1.177 GB, free: 6.777 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches