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.0009061/0.0009062, allocations: 97.05 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.7 MB / 246.8 MB, free: 9.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002185/0.0002185, allocations: 8 kB / 307.7 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09153, allocations: 51.53 MB / 359.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1885/0.2801, allocations: 15.33 MB / 374.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007131/0.2873, allocations: 4.081 MB / 378.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.2889, allocations: 130 kB / 378.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.2907, allocations: 1.004 MB / 379.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.294, allocations: 1.151 MB / 381 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.2963, allocations: 1.146 MB / 382.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007512/0.3038, allocations: 7.865 MB / 390 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03313/0.337, allocations: 22.15 MB / 412.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005203/0.3422, allocations: 3.283 MB / 415.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.3476, allocations: 3.868 MB / 419.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.3486, allocations: 0.5469 MB / 419.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.3509, allocations: 0.8153 MB / 420.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.3522, allocations: 1.53 MB / 422.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004173/0.3563, allocations: 4.05 MB / 426.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.3705, allocations: 17.19 MB / 443.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3705, allocations: 0 / 443.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.3706, allocations: 0 / 443.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003187/0.3709, allocations: 8 kB / 443.4 MB, free: 6.93 MB / 350.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.02321/0.3941, allocations: 8.503 MB / 451.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.3942, allocations: 12.03 kB / 451.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02019/0.4144, allocations: 3.761 MB / 455.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.4244, allocations: 5.182 MB / 460.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006483/0.4251, allocations: 0.6768 MB / 461.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002743/0.4279, allocations: 0.888 MB / 462.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02838/0.4563, allocations: 12.74 MB / 475.2 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/0.4565, allocations: 7.906 kB / 475.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001421/0.4579, allocations: 379.7 kB / 475.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003472/0.4583, allocations: 399.1 kB / 475.9 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/0.481, allocations: 11.43 MB / 487.4 MB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06674/0.5478, allocations: 44.31 MB / 0.5192 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.5583, allocations: 10.52 MB / 0.5295 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3206/0.879, allocations: 1.718 MB / 0.5312 GB, free: 129.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004314/0.8794, allocations: 218.8 kB / 0.5314 GB, free: 129.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.8795, allocations: 57 kB / 0.5314 GB, free: 129.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.28e-06/0.8795, allocations: 0 / 0.5314 GB, free: 129.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.01005/0.8895, allocations: 4.795 MB / 0.5361 GB, free: 128.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.8896, allocations: 74.22 kB / 0.5362 GB, free: 128.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004525/0.8942, allocations: 2.926 MB / 0.539 GB, free: 127.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002842/0.8945, allocations: 61.73 kB / 0.5391 GB, free: 127.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/0.8967, allocations: 3.827 MB / 0.5428 GB, free: 125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007524/0.8975, allocations: 0.8081 MB / 0.5436 GB, free: 124.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004981/0.898, allocations: 373.3 kB / 0.544 GB, free: 124.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.8981, allocations: 302.8 kB / 0.5443 GB, free: 123.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/0.9011, allocations: 2.008 MB / 0.5462 GB, free: 123.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/0.9048, allocations: 4.198 MB / 0.5503 GB, free: 119.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006306/0.9111, allocations: 6.591 MB / 0.5568 GB, free: 114.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.389e-05/0.9112, allocations: 19.78 kB / 0.5568 GB, free: 114.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.009006/0.9202, allocations: 6.589 MB / 0.5632 GB, free: 112 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.9203, allocations: 35.66 kB / 0.5633 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.9204, allocations: 75.28 kB / 0.5633 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007672/0.9212, allocations: 414.5 kB / 0.5637 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.9242, allocations: 1.063 MB / 0.5648 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.9281, allocations: 4.085 MB / 0.5688 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/0.9311, allocations: 0.6224 MB / 0.5694 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/0.9315, allocations: 245.3 kB / 0.5696 GB, free: 108.9 MB / 446.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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004024/0.9355, allocations: 3.371 MB / 0.5729 GB, free: 107.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/0.936, allocations: 273.7 kB / 0.5732 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004827/0.9408, allocations: 3.673 MB / 0.5767 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003351/0.9442, allocations: 2.881 MB / 0.5796 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.9442, allocations: 7.984 kB / 0.5796 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.9442, allocations: 12.8 kB / 0.5796 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.9568, allocations: 10.06 MB / 0.5894 GB, free: 94.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.9569, allocations: 8.094 kB / 0.5894 GB, free: 94.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.9583, allocations: 411.4 kB / 0.5898 GB, free: 94.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006059/0.9589, allocations: 317 kB / 0.5901 GB, free: 94.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.9591, allocations: 51.98 kB / 0.5902 GB, free: 93.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.9626, allocations: 3.903 MB / 0.594 GB, free: 89.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9626, allocations: 0 / 0.594 GB, free: 89.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005933/0.9685, allocations: 5.248 MB / 0.5991 GB, free: 84.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.9696, allocations: 0.618 MB / 0.5997 GB, free: 84.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.9699, allocations: 44 kB / 0.5997 GB, free: 84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.9709, allocations: 141 kB / 0.5999 GB, free: 83.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.9712, allocations: 145.7 kB / 0.6 GB, free: 83.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.9713, allocations: 67.98 kB / 0.6001 GB, free: 83.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002326/0.9736, allocations: 1.963 MB / 0.602 GB, free: 81.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9737, allocations: 0 / 0.602 GB, free: 81.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004239/0.9779, allocations: 1.957 MB / 0.6039 GB, free: 79.71 MB / 446.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 (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004017/0.9783, allocations: 203.3 kB / 0.6041 GB, free: 79.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005668/0.984, allocations: 4.707 MB / 0.6087 GB, free: 74.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.984, allocations: 0 / 0.6087 GB, free: 74.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.9859, allocations: 1.79 MB / 0.6104 GB, free: 73.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/0.9894, allocations: 0.6398 MB / 0.6111 GB, free: 72.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/1.009, allocations: 17.06 MB / 0.6277 GB, free: 55.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004547/1.013, allocations: 5.646 MB / 0.6332 GB, free: 49.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003742/1.017, allocations: 1.694 MB / 0.6349 GB, free: 47.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/1.018, allocations: 235.4 kB / 0.6351 GB, free: 47.66 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/1.018, allocations: 0 / 0.6351 GB, free: 47.66 MB / 446.1 MB Notification: Performance of Templates: time 0.0596/1.077, allocations: 40.44 MB / 0.6746 GB, free: 7.445 MB / 446.1 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","/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