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.001106/0.001106, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009158/0.0009161, allocations: 103.7 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/2.019e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 51.48 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3452/0.4534, allocations: 96.25 MB / 491.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4537, allocations: 85.58 kB / 491.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123/1.576, allocations: 315.3 MB / 0.7879 GB, free: 40.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.576, allocations: 2.625 kB / 0.7879 GB, free: 40.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001198/1.578, allocations: 191.3 kB / 0.7881 GB, free: 40.66 MB / 442.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.03562/1.613, allocations: 7.801 MB / 0.7957 GB, free: 38.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/1.613, allocations: 12.5 kB / 0.7957 GB, free: 38.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/1.628, allocations: 2.599 MB / 0.7982 GB, free: 37.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/1.643, allocations: 5.529 MB / 0.8036 GB, free: 37.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006408/1.644, allocations: 279.1 kB / 0.8039 GB, free: 37.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004038/1.648, allocations: 498.2 kB / 0.8044 GB, free: 37.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02151/1.669, allocations: 9.787 MB / 0.8139 GB, free: 37.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03078/1.7, allocations: 12.11 MB / 0.8258 GB, free: 36.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000381/1.701, allocations: 11.17 kB / 0.8258 GB, free: 36.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/1.703, allocations: 7.219 kB / 0.8258 GB, free: 36.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006281/1.704, allocations: 0.6115 MB / 0.8264 GB, free: 36.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07183/1.776, allocations: 42.6 MB / 0.868 GB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009792/1.785, allocations: 10.59 MB / 0.8783 GB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/1.788, allocations: 1.708 MB / 0.88 GB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/1.788, allocations: 214.1 kB / 0.8802 GB, free: 2.871 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/1.788, allocations: 56.19 kB / 0.8802 GB, free: 2.816 MB / 442.7 MB Notification: Performance of pre-optimization done (n=233): time 4.949e-06/1.788, allocations: 0 / 0.8802 GB, free: 2.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=233): time 0.00794/1.796, allocations: 3.787 MB / 0.8839 GB, free: 1.586 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.796, allocations: 76.09 kB / 0.884 GB, free: 1.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005152/1.801, allocations: 2.515 MB / 0.8865 GB, free: 15.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002301/1.801, allocations: 25.7 kB / 0.8865 GB, free: 15.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003572/1.805, allocations: 3.828 MB / 0.8902 GB, free: 12.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.806, allocations: 0.7905 MB / 0.891 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/1.807, allocations: 3.938 kB / 0.891 GB, free: 11.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005368/1.807, allocations: 0.5 MB / 0.8915 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/1.81, allocations: 1.956 MB / 0.8934 GB, free: 9.172 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005839/1.816, allocations: 4.1 MB / 0.8974 GB, free: 4.332 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008433/1.825, allocations: 3.835 MB / 0.9012 GB, free: 1.277 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.287e-05/1.825, allocations: 20 kB / 0.9012 GB, free: 1.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.01564/1.841, allocations: 6.944 MB / 0.908 GB, free: 11.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/1.841, allocations: 37.56 kB / 0.908 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/1.841, allocations: 80.19 kB / 0.9081 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.842, allocations: 448.4 kB / 0.9085 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/1.846, allocations: 1.082 MB / 0.9096 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/1.851, allocations: 4.292 MB / 0.9137 GB, free: 6.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004507/1.856, allocations: 0.5527 MB / 0.9143 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.857, allocations: 243.5 kB / 0.9145 GB, free: 5.328 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 (568): * Single equations (assignments): 563 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001519/1.859, allocations: 286.9 kB / 0.9148 GB, free: 5.039 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009469/1.859, allocations: 272.4 kB / 0.9151 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009782/1.869, allocations: 4.288 MB / 0.9192 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2869/2.156, allocations: 3.666 MB / 0.9228 GB, free: 68.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/2.156, allocations: 8 kB / 0.9228 GB, free: 68.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/2.156, allocations: 15.27 kB / 0.9228 GB, free: 68.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/2.175, allocations: 9.66 MB / 0.9323 GB, free: 67.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/2.175, allocations: 2.812 kB / 0.9323 GB, free: 67.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/2.177, allocations: 435.4 kB / 0.9327 GB, free: 67.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007297/2.178, allocations: 313.8 kB / 0.933 GB, free: 67.44 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/2.178, allocations: 21.66 kB / 0.933 GB, free: 67.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/2.182, allocations: 3.748 MB / 0.9367 GB, free: 66.17 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/2.182, allocations: 8.625 kB / 0.9367 GB, free: 66.17 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009546/2.191, allocations: 6.134 MB / 0.9427 GB, free: 65.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/2.193, allocations: 0.6508 MB / 0.9433 GB, free: 65.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003447/2.193, allocations: 9.406 kB / 0.9433 GB, free: 65.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/2.194, allocations: 115.4 kB / 0.9434 GB, free: 65.47 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/2.195, allocations: 151.1 kB / 0.9436 GB, free: 65.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/2.195, allocations: 61.66 kB / 0.9436 GB, free: 65.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002423/2.197, allocations: 1.79 MB / 0.9454 GB, free: 65.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.665e-06/2.197, allocations: 0 / 0.9454 GB, free: 65.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005356/2.203, allocations: 1.867 MB / 0.9472 GB, free: 65.04 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.0005991/2.203, allocations: 196.9 kB / 0.9474 GB, free: 64.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007157/2.21, allocations: 4.581 MB / 0.9519 GB, free: 64.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.21, allocations: 1.156 kB / 0.9519 GB, free: 64.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003022/2.213, allocations: 1.781 MB / 0.9536 GB, free: 64.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/2.217, allocations: 0.5663 MB / 0.9542 GB, free: 64.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02333/2.24, allocations: 10.9 MB / 0.9648 GB, free: 62.47 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007856/2.248, allocations: 5.796 MB / 0.9705 GB, free: 61.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004898/2.253, allocations: 1.702 MB / 0.9721 GB, free: 61.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008173/2.254, allocations: 227.4 kB / 0.9723 GB, free: 61.53 MB / 474.7 MB Notification: Performance of SimCode: time 1.153e-06/2.254, allocations: 0.6562 kB / 0.9723 GB, free: 61.53 MB / 474.7 MB Notification: Performance of Templates: time 0.07212/2.326, allocations: 37.98 MB / 1.009 GB, free: 59.64 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