Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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) 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(Modelica.Electrical.QuasiStatic.Polyphase.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0009234/0.0009231, allocations: 84.22 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.442e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 50.43 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4707, allocations: 88.83 MB / 476.3 MB, free: 6.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.4711, allocations: 79.95 kB / 476.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6609/1.132, allocations: 207 MB / 0.6674 GB, free: 39.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.132, allocations: 4 kB / 0.6674 GB, free: 39.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003061/1.132, allocations: 139.8 kB / 0.6675 GB, free: 39.4 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01898/1.151, allocations: 5.861 MB / 0.6732 GB, free: 33.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.151, allocations: 8.031 kB / 0.6732 GB, free: 33.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/1.164, allocations: 2.073 MB / 0.6753 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008372/1.172, allocations: 3.842 MB / 0.679 GB, free: 27.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/1.173, allocations: 196 kB / 0.6792 GB, free: 27.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00214/1.175, allocations: 355.9 kB / 0.6795 GB, free: 26.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01383/1.189, allocations: 6.754 MB / 0.6861 GB, free: 20.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/1.21, allocations: 8.138 MB / 0.6941 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002754/1.211, allocations: 11.86 kB / 0.6941 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/1.212, allocations: 4 kB / 0.6941 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004394/1.213, allocations: 465.2 kB / 0.6945 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3308/1.544, allocations: 27.43 MB / 0.7213 GB, free: 57.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/1.555, allocations: 12 MB / 0.733 GB, free: 47.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004273/1.56, allocations: 1.613 MB / 0.7346 GB, free: 47.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004146/1.56, allocations: 140.6 kB / 0.7348 GB, free: 47.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/1.56, allocations: 60.28 kB / 0.7348 GB, free: 47.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 7.914e-06/1.56, allocations: 1 kB / 0.7348 GB, free: 47.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.007235/1.567, allocations: 3.137 MB / 0.7379 GB, free: 47.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.568, allocations: 102.6 kB / 0.738 GB, free: 47.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/1.57, allocations: 1.59 MB / 0.7395 GB, free: 47.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/1.57, allocations: 28.64 kB / 0.7396 GB, free: 47.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/1.572, allocations: 2.525 MB / 0.742 GB, free: 46.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006757/1.572, allocations: 0.8186 MB / 0.7428 GB, free: 45.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/1.573, allocations: 0 / 0.7428 GB, free: 45.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002151/1.573, allocations: 453.5 kB / 0.7432 GB, free: 45.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/1.575, allocations: 1.397 MB / 0.7446 GB, free: 45.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/1.577, allocations: 2.562 MB / 0.7471 GB, free: 43.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/1.582, allocations: 2.579 MB / 0.7496 GB, free: 43.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.765e-05/1.582, allocations: 9.156 kB / 0.7496 GB, free: 43.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.01011/1.592, allocations: 4.844 MB / 0.7544 GB, free: 43.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/1.592, allocations: 24.5 kB / 0.7544 GB, free: 43.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.592, allocations: 42.19 kB / 0.7544 GB, free: 43.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009399/1.593, allocations: 310.1 kB / 0.7547 GB, free: 43.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/1.596, allocations: 0.7856 MB / 0.7555 GB, free: 43.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/1.601, allocations: 4.473 MB / 0.7599 GB, free: 41.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/1.604, allocations: 352.8 kB / 0.7602 GB, free: 40.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000689/1.605, allocations: 169.6 kB / 0.7604 GB, free: 40.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005839/1.605, allocations: 215.1 kB / 0.7606 GB, free: 40.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/1.606, allocations: 210.3 kB / 0.7608 GB, free: 40.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006416/1.612, allocations: 3.662 MB / 0.7643 GB, free: 40.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/1.612, allocations: 34.31 kB / 0.7644 GB, free: 40.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.612, allocations: 3.594 kB / 0.7644 GB, free: 40.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/1.612, allocations: 10.55 kB / 0.7644 GB, free: 40.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/1.631, allocations: 11.29 MB / 0.7754 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/1.631, allocations: 15.19 kB / 0.7754 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.633, allocations: 442.2 kB / 0.7759 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006297/1.634, allocations: 274.4 kB / 0.7761 GB, free: 38.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/1.634, allocations: 38.3 kB / 0.7762 GB, free: 38.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/1.638, allocations: 4.375 MB / 0.7804 GB, free: 35.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/1.638, allocations: 19.81 kB / 0.7804 GB, free: 35.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008252/1.646, allocations: 6.547 MB / 0.7868 GB, free: 31.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008753/1.647, allocations: 338.3 kB / 0.7872 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/1.647, allocations: 18.25 kB / 0.7872 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.649, allocations: 100.8 kB / 0.7873 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/1.649, allocations: 209.3 kB / 0.7875 GB, free: 31.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.649, allocations: 86.92 kB / 0.7876 GB, free: 31.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00198/1.651, allocations: 1.17 MB / 0.7887 GB, free: 31.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.651, allocations: 0 / 0.7887 GB, free: 31.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005982/1.657, allocations: 1.344 MB / 0.79 GB, free: 30.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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 (232): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008316/1.658, allocations: 210 kB / 0.7902 GB, free: 30.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005549/1.664, allocations: 3.588 MB / 0.7937 GB, free: 29.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.308e-05/1.664, allocations: 3.875 kB / 0.7937 GB, free: 29.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002269/1.666, allocations: 1.702 MB / 0.7954 GB, free: 28.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/1.669, allocations: 418.1 kB / 0.7958 GB, free: 28.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/1.683, allocations: 8.212 MB / 0.8038 GB, free: 25.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/1.686, allocations: 4.094 MB / 0.8078 GB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003201/1.69, allocations: 1.214 MB / 0.809 GB, free: 22.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/1.69, allocations: 186.5 kB / 0.8092 GB, free: 21.87 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/1.69, allocations: 0 / 0.8092 GB, free: 21.87 MB / 426.7 MB Notification: Performance of Templates: time 0.04949/1.74, allocations: 28.34 MB / 0.8368 GB, free: 5.926 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches