Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 193 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 226.5 MB / 244.7 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007831/0.0007833, allocations: 100.8 kB / 296.8 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000231/0.0002312, allocations: 8 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1923, allocations: 51.29 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01004/0.2024, allocations: 14.27 MB / 422.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006568/0.209, allocations: 3.766 MB / 426.1 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.2112, allocations: 127.7 kB / 426.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.2129, allocations: 0.687 MB / 426.9 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.2162, allocations: 1.084 MB / 428 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.2183, allocations: 0.9368 MB / 428.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006485/0.2248, allocations: 7.575 MB / 436.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03808/0.2629, allocations: 21.67 MB / 458.2 MB, free: 9.391 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005769/0.2688, allocations: 3.278 MB / 461.4 MB, free: 6.102 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006606/0.2754, allocations: 3.669 MB / 465.1 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001758/0.2772, allocations: 0.543 MB / 465.6 MB, free: 1.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003838/0.2811, allocations: 0.8005 MB / 466.4 MB, free: 1.074 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002459/0.2836, allocations: 1.483 MB / 467.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007262/0.2908, allocations: 3.883 MB / 471.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.3079, allocations: 15.51 MB / 487.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.308, allocations: 4 kB / 487.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.308, allocations: 0 / 487.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005651/0.3086, allocations: 0 / 487.3 MB, free: 12.12 MB / 362.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.02338/0.332, allocations: 8.513 MB / 495.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.332, allocations: 15.97 kB / 495.9 MB, free: 3.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01802/0.3501, allocations: 3.76 MB / 499.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009706/0.3598, allocations: 5.175 MB / 0.493 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006648/0.3605, allocations: 0.6824 MB / 0.4936 GB, free: 9.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/0.3631, allocations: 0.8828 MB / 0.4945 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3464/0.7095, allocations: 12.67 MB / 0.5069 GB, free: 74.49 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/0.7098, allocations: 6.938 kB / 0.5069 GB, free: 74.49 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009285/0.7107, allocations: 375.5 kB / 0.5072 GB, free: 74.2 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004018/0.7111, allocations: 403.6 kB / 0.5076 GB, free: 74.17 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/0.7318, allocations: 11.36 MB / 0.5187 GB, free: 69.34 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05862/0.7904, allocations: 44.31 MB / 0.562 GB, free: 29.41 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008908/0.7994, allocations: 10.52 MB / 0.5722 GB, free: 17.64 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.8016, allocations: 1.71 MB / 0.5739 GB, free: 15.94 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.8019, allocations: 215.7 kB / 0.5741 GB, free: 15.7 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.802, allocations: 60.55 kB / 0.5742 GB, free: 15.63 MB / 378.8 MB Notification: Performance of pre-optimization done (n=229): time 5.25e-06/0.802, allocations: 8 kB / 0.5742 GB, free: 15.62 MB / 378.8 MB Notification: Performance of matching and sorting (n=229): time 0.007909/0.8099, allocations: 4.773 MB / 0.5788 GB, free: 10.83 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.81, allocations: 73.41 kB / 0.5789 GB, free: 10.74 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/0.8141, allocations: 2.91 MB / 0.5818 GB, free: 7.812 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.8142, allocations: 61.7 kB / 0.5818 GB, free: 7.746 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.8156, allocations: 3.82 MB / 0.5855 GB, free: 3.898 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004734/0.8161, allocations: 0.8044 MB / 0.5863 GB, free: 3.102 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.8163, allocations: 96 kB / 0.5864 GB, free: 3.008 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.8165, allocations: 0.4962 MB / 0.5869 GB, free: 2.504 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/0.819, allocations: 1.996 MB / 0.5889 GB, free: 0.5 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004273/0.8233, allocations: 4.175 MB / 0.5929 GB, free: 11.26 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007614/0.8309, allocations: 6.561 MB / 0.5993 GB, free: 3.617 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.584e-05/0.831, allocations: 24 kB / 0.5994 GB, free: 3.594 MB / 394.8 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01047/0.8414, allocations: 6.546 MB / 0.6058 GB, free: 12.99 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.8415, allocations: 40.19 kB / 0.6058 GB, free: 12.95 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.018e-05/0.8416, allocations: 79.94 kB / 0.6059 GB, free: 12.88 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008971/0.8425, allocations: 412.5 kB / 0.6063 GB, free: 12.47 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.8457, allocations: 1.061 MB / 0.6073 GB, free: 11.41 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/0.8506, allocations: 4.063 MB / 0.6113 GB, free: 7.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/0.8538, allocations: 0.6308 MB / 0.6119 GB, free: 6.578 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005224/0.8543, allocations: 244 kB / 0.6121 GB, free: 6.34 MB / 410.8 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 (569): * Single equations (assignments): 564 * 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.005689/0.86, allocations: 3.365 MB / 0.6154 GB, free: 2.961 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006409/0.8606, allocations: 276.5 kB / 0.6157 GB, free: 2.688 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006219/0.8669, allocations: 3.651 MB / 0.6192 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004306/0.8712, allocations: 2.87 MB / 0.622 GB, free: 12.13 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.8712, allocations: 7.938 kB / 0.622 GB, free: 12.12 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.8713, allocations: 11.97 kB / 0.6221 GB, free: 12.11 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/0.8902, allocations: 10.03 MB / 0.6319 GB, free: 2.043 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.8902, allocations: 0 / 0.6319 GB, free: 2.043 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.8918, allocations: 415.4 kB / 0.6323 GB, free: 1.637 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007372/0.8925, allocations: 316.9 kB / 0.6326 GB, free: 1.324 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.8927, allocations: 51.98 kB / 0.6326 GB, free: 1.273 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00476/0.8975, allocations: 3.888 MB / 0.6364 GB, free: 13.26 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.8975, allocations: 3.938 kB / 0.6364 GB, free: 13.25 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007098/0.9046, allocations: 5.238 MB / 0.6415 GB, free: 7.984 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.9058, allocations: 0.6142 MB / 0.6421 GB, free: 7.348 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004422/0.9063, allocations: 40 kB / 0.6422 GB, free: 7.309 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.9075, allocations: 135.8 kB / 0.6423 GB, free: 7.176 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.9078, allocations: 153.8 kB / 0.6424 GB, free: 7.023 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.9079, allocations: 71.97 kB / 0.6425 GB, free: 6.953 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002986/0.9109, allocations: 1.939 MB / 0.6444 GB, free: 5.004 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9109, allocations: 0 / 0.6444 GB, free: 5.004 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005183/0.9161, allocations: 1.964 MB / 0.6463 GB, free: 3.031 MB / 442.8 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 (218): * Single equations (assignments): 213 * 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.0005044/0.9166, allocations: 192.7 kB / 0.6465 GB, free: 2.836 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.007164/0.9238, allocations: 4.685 MB / 0.6511 GB, free: 14.14 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.9238, allocations: 4.188 kB / 0.6511 GB, free: 14.14 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/0.9263, allocations: 1.765 MB / 0.6528 GB, free: 12.36 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/0.9296, allocations: 0.6353 MB / 0.6534 GB, free: 11.73 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/0.9536, allocations: 16.02 MB / 0.6691 GB, free: 11.66 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005283/0.959, allocations: 5.474 MB / 0.6744 GB, free: 6.152 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.96, allocations: 267.4 kB / 0.6747 GB, free: 5.891 MB / 474.8 MB Notification: Performance of SimCode: time 1.122e-06/0.96, allocations: 3.938 kB / 0.6747 GB, free: 5.887 MB / 474.8 MB Notification: Performance of Templates: time 0.3302/1.29, allocations: 130.6 MB / 0.8022 GB, free: 50.36 MB / 474.8 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches