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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001055, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001076, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 63.55 kB / 306.4 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.08499, allocations: 50.54 MB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1817/0.2667, allocations: 16.21 MB / 373.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008436/0.2751, allocations: 4.108 MB / 377.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.2782, allocations: 135.1 kB / 377.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01334/0.2916, allocations: 7.074 MB / 384.4 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005831/0.2974, allocations: 1.15 MB / 385.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.3013, allocations: 1.154 MB / 386.7 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008871/0.3102, allocations: 7.875 MB / 394.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02608/0.3363, allocations: 18.92 MB / 413.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005666/0.342, allocations: 4.285 MB / 417.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007061/0.3491, allocations: 5.162 MB / 423 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002448/0.3516, allocations: 1.023 MB / 424 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004798/0.3564, allocations: 1.297 MB / 425.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002124/0.3586, allocations: 2.209 MB / 427.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00738/0.3659, allocations: 4.839 MB / 432.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01586/0.3818, allocations: 17.96 MB / 450.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3819, allocations: 4 kB / 450.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3819, allocations: 0 / 450.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003646/0.3822, allocations: 0 / 450.3 MB, free: 14.77 MB / 366.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.0271/0.4093, allocations: 10.46 MB / 460.8 MB, free: 4.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4094, allocations: 8.031 kB / 460.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003774/0.4132, allocations: 1.302 MB / 462.1 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01883/0.432, allocations: 3.748 MB / 465.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009016/0.4411, allocations: 5.172 MB / 471 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004537/0.4416, allocations: 0.6824 MB / 471.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/0.4435, allocations: 0.8905 MB / 472.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.4694, allocations: 12.74 MB / 485.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/0.4696, allocations: 4 kB / 485.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001568/0.4712, allocations: 376 kB / 485.7 MB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003406/0.4715, allocations: 407.1 kB / 486.1 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/0.493, allocations: 11.42 MB / 497.5 MB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06477/0.5578, allocations: 44.17 MB / 0.529 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2961/0.854, allocations: 10.53 MB / 0.5393 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/0.8566, allocations: 1.724 MB / 0.5409 GB, free: 121.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.8569, allocations: 219.6 kB / 0.5411 GB, free: 121.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.857, allocations: 57.59 kB / 0.5412 GB, free: 121.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.698e-06/0.857, allocations: 1.344 kB / 0.5412 GB, free: 121.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.008689/0.8657, allocations: 4.776 MB / 0.5459 GB, free: 119.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8657, allocations: 75.06 kB / 0.5459 GB, free: 119.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.8698, allocations: 2.922 MB / 0.5488 GB, free: 118.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.87, allocations: 62.2 kB / 0.5488 GB, free: 118.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/0.8718, allocations: 3.823 MB / 0.5526 GB, free: 116.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004865/0.8722, allocations: 0.8092 MB / 0.5534 GB, free: 115.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.8734, allocations: 0.9586 MB / 0.5543 GB, free: 115 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.8734, allocations: 301.1 kB / 0.5546 GB, free: 114.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/0.8759, allocations: 2.015 MB / 0.5566 GB, free: 114 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/0.8791, allocations: 4.198 MB / 0.5607 GB, free: 110.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005169/0.8843, allocations: 6.593 MB / 0.5671 GB, free: 105.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-05/0.8843, allocations: 19.81 kB / 0.5671 GB, free: 105.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.007877/0.8922, allocations: 6.579 MB / 0.5735 GB, free: 102.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.8923, allocations: 38.97 kB / 0.5736 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-05/0.8923, allocations: 79.89 kB / 0.5737 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/0.893, allocations: 415.8 kB / 0.5741 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.8957, allocations: 1.061 MB / 0.5751 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.8993, allocations: 4.062 MB / 0.5791 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.9019, allocations: 0.6287 MB / 0.5797 GB, free: 99.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/0.9022, allocations: 244.1 kB / 0.5799 GB, free: 99.61 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.004212/0.9064, allocations: 3.368 MB / 0.5832 GB, free: 98.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004561/0.9068, allocations: 279 kB / 0.5835 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00482/0.9117, allocations: 3.668 MB / 0.587 GB, free: 95.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00353/0.9152, allocations: 2.885 MB / 0.5899 GB, free: 93.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.9152, allocations: 4 kB / 0.5899 GB, free: 93.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.9153, allocations: 15.95 kB / 0.5899 GB, free: 93.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.9281, allocations: 10.06 MB / 0.5997 GB, free: 83.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.9281, allocations: 0 / 0.5997 GB, free: 83.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.9295, allocations: 427.5 kB / 0.6001 GB, free: 82.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005887/0.9301, allocations: 316 kB / 0.6004 GB, free: 82.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.9302, allocations: 47.98 kB / 0.6005 GB, free: 82.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/0.9336, allocations: 3.87 MB / 0.6042 GB, free: 78.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9336, allocations: 3.938 kB / 0.6042 GB, free: 78.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00563/0.9392, allocations: 5.259 MB / 0.6094 GB, free: 73.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/0.9402, allocations: 0.6102 MB / 0.61 GB, free: 72.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.9405, allocations: 47.94 kB / 0.61 GB, free: 72.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.9415, allocations: 135.8 kB / 0.6101 GB, free: 72.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.9417, allocations: 145.7 kB / 0.6103 GB, free: 72.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.9418, allocations: 72.05 kB / 0.6104 GB, free: 72.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002078/0.9439, allocations: 1.963 MB / 0.6123 GB, free: 70.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.8e-07/0.9439, allocations: 0 / 0.6123 GB, free: 70.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003957/0.9479, allocations: 1.954 MB / 0.6142 GB, free: 68.11 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.00584/0.9537, allocations: 5.915 MB / 0.62 GB, free: 62.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005351/0.9591, allocations: 4.704 MB / 0.6245 GB, free: 57.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9591, allocations: 0 / 0.6245 GB, free: 57.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.9609, allocations: 1.783 MB / 0.6263 GB, free: 55.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.9636, allocations: 0.635 MB / 0.6269 GB, free: 55.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05479/1.018, allocations: 47.05 MB / 0.6729 GB, free: 3.898 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005483/1.024, allocations: 5.654 MB / 0.6784 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004369/1.028, allocations: 1.69 MB / 0.68 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004421/1.033, allocations: 2.729 MB / 0.6827 GB, free: 9.781 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/1.033, allocations: 3.938 kB / 0.6827 GB, free: 9.777 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2766/1.309, allocations: 89.42 MB / 0.77 GB, free: 112.1 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/1.31, allocations: 233.9 kB / 0.7702 GB, free: 111.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.075/4.385, allocations: 0 / 0.7702 GB, free: 111.8 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/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