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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2475, allocations: 50.55 MB / 409.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0165/0.264, allocations: 16.5 MB / 425.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009231/0.2733, allocations: 4.145 MB / 429.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00288/0.2762, allocations: 135.6 kB / 430 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01555/0.2918, allocations: 7.451 MB / 437.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005214/0.297, allocations: 1.331 MB / 438.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.3004, allocations: 1.243 MB / 440.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009209/0.3096, allocations: 8.261 MB / 448.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03196/0.3416, allocations: 22.51 MB / 470.8 MB, free: 3.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007508/0.3492, allocations: 4.816 MB / 475.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007601/0.3568, allocations: 5.33 MB / 481 MB, free: 9.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002863/0.3597, allocations: 1.383 MB / 482.4 MB, free: 8.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.3638, allocations: 1.656 MB / 484 MB, free: 6.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.3663, allocations: 2.584 MB / 486.6 MB, free: 3.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006261/0.3726, allocations: 5.218 MB / 491.8 MB, free: 14.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01728/0.3899, allocations: 18.32 MB / 0.4982 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3899, allocations: 0 / 0.4982 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3899, allocations: 0 / 0.4982 GB, free: 12.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003788/0.3903, allocations: 0 / 0.4982 GB, free: 12.25 MB / 430.1 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.02682/0.4171, allocations: 10.45 MB / 0.5084 GB, free: 1.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4172, allocations: 8.031 kB / 0.5084 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/0.4354, allocations: 3.748 MB / 0.5121 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00874/0.4441, allocations: 5.351 MB / 0.5173 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/0.4446, allocations: 0.6823 MB / 0.5179 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.446, allocations: 0.8905 MB / 0.5188 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02369/0.4697, allocations: 12.72 MB / 0.5312 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.4699, allocations: 0 / 0.5312 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009105/0.4709, allocations: 376 kB / 0.5316 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003421/0.4712, allocations: 407.1 kB / 0.532 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3801/0.8513, allocations: 11.4 MB / 0.5431 GB, free: 112.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05067/0.902, allocations: 43.58 MB / 0.5857 GB, free: 80.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007488/0.9095, allocations: 10.49 MB / 0.5959 GB, free: 68.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.9112, allocations: 1.683 MB / 0.5976 GB, free: 67.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.9115, allocations: 219.9 kB / 0.5978 GB, free: 66.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.9115, allocations: 59.66 kB / 0.5978 GB, free: 66.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.348e-06/0.9115, allocations: 0 / 0.5978 GB, free: 66.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007016/0.9185, allocations: 4.651 MB / 0.6024 GB, free: 62.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.9186, allocations: 77.41 kB / 0.6024 GB, free: 62.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.9216, allocations: 2.926 MB / 0.6053 GB, free: 59.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.9217, allocations: 61.7 kB / 0.6054 GB, free: 59.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.923, allocations: 3.828 MB / 0.6091 GB, free: 55.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/0.9234, allocations: 0.7882 MB / 0.6099 GB, free: 54.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.9244, allocations: 0.9482 MB / 0.6108 GB, free: 53.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.55e-05/0.9244, allocations: 313 kB / 0.6111 GB, free: 53.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.9265, allocations: 1.969 MB / 0.613 GB, free: 51.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/0.9293, allocations: 4.153 MB / 0.6171 GB, free: 45.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005188/0.9345, allocations: 6.513 MB / 0.6234 GB, free: 38.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.194e-05/0.9345, allocations: 27.94 kB / 0.6235 GB, free: 38.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007372/0.9419, allocations: 6.503 MB / 0.6298 GB, free: 31.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.942, allocations: 36 kB / 0.6298 GB, free: 31.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.114e-05/0.942, allocations: 76 kB / 0.6299 GB, free: 31.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007393/0.9428, allocations: 416.7 kB / 0.6303 GB, free: 31.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/0.9456, allocations: 1.065 MB / 0.6314 GB, free: 30.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/0.9494, allocations: 4.378 MB / 0.6356 GB, free: 25.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.952, allocations: 0.6231 MB / 0.6362 GB, free: 25.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.9523, allocations: 244 kB / 0.6365 GB, free: 24.91 MB / 462.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003706/0.956, allocations: 3.376 MB / 0.6398 GB, free: 21.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/0.9564, allocations: 272.6 kB / 0.64 GB, free: 21.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.9609, allocations: 3.573 MB / 0.6435 GB, free: 17.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003179/0.9641, allocations: 2.807 MB / 0.6463 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.9641, allocations: 7.938 kB / 0.6463 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.9641, allocations: 11.95 kB / 0.6463 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/0.9761, allocations: 9.862 MB / 0.6559 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.9762, allocations: 3.938 kB / 0.6559 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.9775, allocations: 407.4 kB / 0.6563 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005874/0.9781, allocations: 324.8 kB / 0.6566 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.9783, allocations: 51.98 kB / 0.6567 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.982, allocations: 4.188 MB / 0.6608 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.982, allocations: 11.95 kB / 0.6608 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007268/0.9893, allocations: 5.113 MB / 0.6658 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.9905, allocations: 0.6064 MB / 0.6663 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/0.9908, allocations: 47.94 kB / 0.6664 GB, free: 9.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.9919, allocations: 131.8 kB / 0.6665 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.9922, allocations: 149.7 kB / 0.6667 GB, free: 9.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.9924, allocations: 59.98 kB / 0.6667 GB, free: 9.625 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002841/0.9952, allocations: 1.963 MB / 0.6686 GB, free: 7.652 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.9952, allocations: 0 / 0.6686 GB, free: 7.652 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005024/1, allocations: 1.961 MB / 0.6706 GB, free: 5.684 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005075/1.001, allocations: 197.7 kB / 0.6707 GB, free: 5.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007263/1.008, allocations: 4.624 MB / 0.6753 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.008, allocations: 0 / 0.6753 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00257/1.011, allocations: 1.736 MB / 0.677 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/1.014, allocations: 0.6805 MB / 0.6776 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/1.039, allocations: 13.22 MB / 0.6905 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007419/1.047, allocations: 5.641 MB / 0.696 GB, free: 11.5 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004107/1.051, allocations: 1.69 MB / 0.6977 GB, free: 9.805 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000772/1.052, allocations: 231.4 kB / 0.6979 GB, free: 9.578 MB / 0.4982 GB Notification: Performance of SimCode: time 8.82e-07/1.052, allocations: 0 / 0.6979 GB, free: 9.578 MB / 0.4982 GB Notification: Performance of Templates: time 0.07185/1.124, allocations: 39.93 MB / 0.7369 GB, free: 1.824 MB / 0.5294 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches