Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008791/0.0008792, allocations: 89.36 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.58e-05, allocations: 8 kB / 350.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 51.47 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4447, allocations: 96.92 MB / 498.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.445, allocations: 85.77 kB / 499 MB, free: 8.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125/1.57, allocations: 318.3 MB / 0.7981 GB, free: 58.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.57, allocations: 0 / 0.7981 GB, free: 58.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008917/1.571, allocations: 194.5 kB / 0.7983 GB, free: 58.45 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02943/1.6, allocations: 7.83 MB / 0.806 GB, free: 56.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.6, allocations: 11.41 kB / 0.806 GB, free: 56.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/1.614, allocations: 2.593 MB / 0.8085 GB, free: 55.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/1.628, allocations: 5.526 MB / 0.8139 GB, free: 54.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006318/1.629, allocations: 0.641 MB / 0.8145 GB, free: 54.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003137/1.632, allocations: 0.8257 MB / 0.8153 GB, free: 54.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03026/1.662, allocations: 13.45 MB / 0.8285 GB, free: 53.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/1.662, allocations: 11.72 kB / 0.8285 GB, free: 53.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001432/1.664, allocations: 369.5 kB / 0.8288 GB, free: 53.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005/1.664, allocations: 0.615 MB / 0.8294 GB, free: 53.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/1.687, allocations: 10.11 MB / 0.8393 GB, free: 49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06878/1.756, allocations: 44.17 MB / 0.8824 GB, free: 19.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/1.766, allocations: 10.51 MB / 0.8927 GB, free: 8.703 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/1.768, allocations: 1.714 MB / 0.8944 GB, free: 7.176 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/1.769, allocations: 214.2 kB / 0.8946 GB, free: 6.941 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/1.769, allocations: 56.56 kB / 0.8946 GB, free: 6.879 MB / 458.7 MB Notification: Performance of pre-optimization done (n=234): time 4.508e-06/1.769, allocations: 0 / 0.8946 GB, free: 6.879 MB / 458.7 MB Notification: Performance of matching and sorting (n=234): time 0.005117/1.774, allocations: 3.059 MB / 0.8976 GB, free: 4.199 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.774, allocations: 77.41 kB / 0.8977 GB, free: 4.109 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004921/1.779, allocations: 2.586 MB / 0.9002 GB, free: 1.832 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003401/1.779, allocations: 61.7 kB / 0.9003 GB, free: 1.766 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002473/1.782, allocations: 3.827 MB / 0.904 GB, free: 14.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008347/1.783, allocations: 0.826 MB / 0.9048 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/1.783, allocations: 95.38 kB / 0.9049 GB, free: 13.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003398/1.783, allocations: 0.4957 MB / 0.9054 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/1.786, allocations: 1.975 MB / 0.9073 GB, free: 11.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004338/1.79, allocations: 4.148 MB / 0.9114 GB, free: 6.469 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/1.794, allocations: 3.049 MB / 0.9144 GB, free: 3.895 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-05/1.794, allocations: 20 kB / 0.9144 GB, free: 3.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.2946/2.089, allocations: 6.516 MB / 0.9207 GB, free: 68.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/2.089, allocations: 37 kB / 0.9208 GB, free: 68.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.991e-05/2.089, allocations: 77.28 kB / 0.9209 GB, free: 68.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008738/2.09, allocations: 417.4 kB / 0.9213 GB, free: 68.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/2.094, allocations: 1.07 MB / 0.9223 GB, free: 68.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/2.098, allocations: 4.057 MB / 0.9263 GB, free: 66.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/2.101, allocations: 0.6263 MB / 0.9269 GB, free: 66.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003709/2.102, allocations: 246.1 kB / 0.9271 GB, free: 66.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (574): * Single equations (assignments): 569 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005127/2.102, allocations: 420.8 kB / 0.9275 GB, free: 66.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004258/2.102, allocations: 281.4 kB / 0.9278 GB, free: 66.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005047/2.108, allocations: 3.655 MB / 0.9313 GB, free: 66.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003383/2.111, allocations: 2.874 MB / 0.9342 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/2.111, allocations: 2.75 kB / 0.9342 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/2.111, allocations: 13.38 kB / 0.9342 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/2.129, allocations: 10.33 MB / 0.9443 GB, free: 65.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/2.129, allocations: 2.688 kB / 0.9443 GB, free: 65.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/2.13, allocations: 420 kB / 0.9447 GB, free: 65.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006937/2.131, allocations: 311.4 kB / 0.945 GB, free: 65.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/2.131, allocations: 53.05 kB / 0.945 GB, free: 65.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/2.135, allocations: 3.863 MB / 0.9488 GB, free: 64.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/2.135, allocations: 6.797 kB / 0.9488 GB, free: 64.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00671/2.142, allocations: 5.321 MB / 0.954 GB, free: 63.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/2.143, allocations: 0.6421 MB / 0.9546 GB, free: 63.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/2.144, allocations: 42.5 kB / 0.9547 GB, free: 63.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/2.145, allocations: 131.6 kB / 0.9548 GB, free: 63.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/2.145, allocations: 150.2 kB / 0.9549 GB, free: 63.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/2.145, allocations: 67.77 kB / 0.955 GB, free: 63.51 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00293/2.148, allocations: 1.914 MB / 0.9569 GB, free: 63.35 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.72e-07/2.148, allocations: 0 / 0.9569 GB, free: 63.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005486/2.154, allocations: 1.989 MB / 0.9588 GB, free: 63.06 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005693/2.154, allocations: 281.6 kB / 0.9591 GB, free: 62.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007038/2.161, allocations: 4.66 MB / 0.9636 GB, free: 62.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/2.161, allocations: 3.781 kB / 0.9636 GB, free: 62.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00211/2.164, allocations: 1.768 MB / 0.9653 GB, free: 62.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/2.166, allocations: 0.6156 MB / 0.9659 GB, free: 62.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/2.184, allocations: 10.91 MB / 0.9766 GB, free: 60.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005452/2.19, allocations: 5.79 MB / 0.9823 GB, free: 59.51 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004089/2.194, allocations: 1.691 MB / 0.9839 GB, free: 59.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006303/2.195, allocations: 230.8 kB / 0.9841 GB, free: 59.38 MB / 474.7 MB Notification: Performance of SimCode: time 8.52e-07/2.195, allocations: 0 / 0.9841 GB, free: 59.38 MB / 474.7 MB Notification: Performance of Templates: time 0.07037/2.265, allocations: 40.26 MB / 1.023 GB, free: 54.36 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches