Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_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.001098/0.001098, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3036, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008114/0.3117, allocations: 6.026 MB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003854/0.3156, allocations: 1.69 MB / 416.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.3169, allocations: 51.81 kB / 416.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.318, allocations: 317.4 kB / 416.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.3201, allocations: 377.4 kB / 417.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3214, allocations: 355.5 kB / 417.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002724/0.3241, allocations: 2.013 MB / 419.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003998/0.3281, allocations: 2.735 MB / 422.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.3296, allocations: 1.044 MB / 423.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.3316, allocations: 1.206 MB / 424.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008148/0.3324, allocations: 308 kB / 424.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.3338, allocations: 455.7 kB / 425.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.3349, allocations: 0.7325 MB / 426 MB, free: 148 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.3367, allocations: 1.264 MB / 427.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.341, allocations: 3.806 MB / 431.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.341, allocations: 3.984 kB / 431.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.341, allocations: 0 / 431.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.531e-05/0.3411, allocations: 0 / 431.1 MB, free: 11.05 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004883/0.346, allocations: 2.525 MB / 433.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3461, allocations: 8.031 kB / 433.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003867/0.3465, allocations: 328.9 kB / 434 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008484/0.3473, allocations: 279.4 kB / 434.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.3495, allocations: 1.334 MB / 435.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.3496, allocations: 168.9 kB / 435.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/0.35, allocations: 227.9 kB / 435.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004281/0.3543, allocations: 2.545 MB / 438.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.3543, allocations: 3.984 kB / 438.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.3545, allocations: 92 kB / 438.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.877e-05/0.3546, allocations: 56 kB / 438.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.358, allocations: 2.141 MB / 440.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.3699, allocations: 7.509 MB / 448.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.3711, allocations: 1.254 MB / 449.5 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3722, allocations: 0.6218 MB / 450.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.3723, allocations: 12.55 kB / 450.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3724, allocations: 51 kB / 450.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.747e-06/0.3724, allocations: 0 / 450.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004638/0.377, allocations: 2.458 MB / 452.7 MB, free: 4.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3771, allocations: 55.97 kB / 452.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.3783, allocations: 0.8012 MB / 453.5 MB, free: 3.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.3784, allocations: 37.7 kB / 453.6 MB, free: 3.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006674/0.3791, allocations: 0.9479 MB / 454.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.3793, allocations: 238 kB / 454.8 MB, free: 2.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.3796, allocations: 146.6 kB / 454.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.3799, allocations: 394.7 kB / 455.3 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/0.3805, allocations: 369.8 kB / 455.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.3814, allocations: 0.575 MB / 456.2 MB, free: 1.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.3829, allocations: 0.9854 MB / 457.2 MB, free: 80 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.3829, allocations: 4 kB / 457.2 MB, free: 76 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002004/0.3849, allocations: 1.155 MB / 458.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.3849, allocations: 8.656 kB / 458.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.385, allocations: 12 kB / 458.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.3853, allocations: 108.7 kB / 458.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.386, allocations: 167.8 kB / 458.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.3887, allocations: 2.326 MB / 461 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.3893, allocations: 44.03 kB / 461 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/0.3894, allocations: 35.98 kB / 461.1 MB, free: 12.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001129/0.3906, allocations: 0.6535 MB / 461.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.3908, allocations: 91.38 kB / 461.8 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.3911, allocations: 95.69 kB / 461.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.3911, allocations: 15.98 kB / 461.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.3911, allocations: 0 / 461.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3911, allocations: 7.984 kB / 461.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.3963, allocations: 2.655 MB / 464.6 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.3964, allocations: 0 / 464.6 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.3969, allocations: 115.7 kB / 464.7 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.3972, allocations: 100.8 kB / 464.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.3972, allocations: 15.94 kB / 464.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.3997, allocations: 2.267 MB / 467.1 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3997, allocations: 0 / 467.1 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.402, allocations: 1.421 MB / 468.5 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.4025, allocations: 232.5 kB / 468.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.4027, allocations: 20 kB / 468.7 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.4032, allocations: 43.94 kB / 468.8 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.4034, allocations: 44.5 kB / 468.8 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.4034, allocations: 19.98 kB / 468.8 MB, free: 3.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001004/0.4044, allocations: 0.5654 MB / 469.4 MB, free: 3.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4045, allocations: 0 / 469.4 MB, free: 3.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001432/0.4059, allocations: 296 kB / 469.7 MB, free: 3.145 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003112/0.409, allocations: 2.015 MB / 471.7 MB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.4111, allocations: 0.9993 MB / 472.7 MB, free: 80 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4111, allocations: 4 kB / 472.7 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00096/0.4121, allocations: 0.5601 MB / 473.3 MB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.4134, allocations: 223.3 kB / 473.5 MB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.4308, allocations: 10.18 MB / 483.7 MB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.4329, allocations: 1.732 MB / 485.4 MB, free: 2.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005722/0.4335, allocations: 199.1 kB / 485.6 MB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008155/0.4343, allocations: 0.6437 MB / 486.2 MB, free: 2.129 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4343, allocations: 4 kB / 486.3 MB, free: 2.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05618/0.4905, allocations: 24.27 MB / 0.4986 GB, free: 10.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.26, allocations: 8.766 kB / 0.4986 GB, free: 10.08 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches