Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 43.94 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1113, allocations: 53.32 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.2245/0.3358, allocations: 6.055 MB / 432.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.3394, allocations: 1.691 MB / 434.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000802/0.3402, allocations: 58.03 kB / 434.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.3408, allocations: 324.6 kB / 434.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.3419, allocations: 366.2 kB / 434.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.3426, allocations: 353.6 kB / 435.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.3447, allocations: 2.02 MB / 437.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.3471, allocations: 2.028 MB / 439.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.3486, allocations: 1.065 MB / 440.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.3505, allocations: 1.227 MB / 441.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006722/0.3512, allocations: 310.1 kB / 441.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.3522, allocations: 477.4 kB / 442.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.3529, allocations: 0.7327 MB / 443 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.3543, allocations: 1.265 MB / 444.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005062/0.3593, allocations: 3.811 MB / 448.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3593, allocations: 1.594 kB / 448.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3593, allocations: 0 / 448.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.3595, allocations: 0 / 448.1 MB, free: 1.801 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.005853/0.3653, allocations: 2.525 MB / 450.6 MB, free: 312 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3654, allocations: 9.906 kB / 450.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004378/0.3658, allocations: 329.7 kB / 450.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009736/0.3668, allocations: 278.9 kB / 451.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.3694, allocations: 1.335 MB / 452.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.3695, allocations: 168.8 kB / 452.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/0.3699, allocations: 216.8 kB / 452.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005216/0.3751, allocations: 2.542 MB / 455.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.3751, allocations: 0 / 455.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.3754, allocations: 100.9 kB / 455.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.48e-05/0.3755, allocations: 56.34 kB / 455.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.3797, allocations: 2.145 MB / 457.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.3939, allocations: 7.508 MB / 465.2 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.3954, allocations: 1.212 MB / 466.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.3966, allocations: 0.5926 MB / 467 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.3966, allocations: 10.92 kB / 467.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.3966, allocations: 41.78 kB / 467.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.476e-06/0.3967, allocations: 4.844 kB / 467.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004857/0.4015, allocations: 2.453 MB / 469.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.4016, allocations: 62.78 kB / 469.6 MB, free: 4.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.4028, allocations: 0.7992 MB / 470.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/0.4029, allocations: 36.55 kB / 470.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007124/0.4036, allocations: 0.9471 MB / 471.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.4038, allocations: 237.9 kB / 471.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.4041, allocations: 143.3 kB / 471.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.4043, allocations: 401 kB / 472.2 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.4049, allocations: 365.5 kB / 472.5 MB, free: 1.922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007734/0.4057, allocations: 0.5715 MB / 473.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.4072, allocations: 0.9931 MB / 474.1 MB, free: 288 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4072, allocations: 4 kB / 474.1 MB, free: 284 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002133/0.4093, allocations: 1.152 MB / 475.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.4093, allocations: 8.625 kB / 475.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.4093, allocations: 4 kB / 475.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.4097, allocations: 116.7 kB / 475.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.4105, allocations: 171.8 kB / 475.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.4134, allocations: 2.325 MB / 477.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008511/0.4143, allocations: 44.03 kB / 477.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.014e-05/0.4143, allocations: 28 kB / 477.9 MB, free: 12.29 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.00134/0.4157, allocations: 0.6535 MB / 478.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.4159, allocations: 91.42 kB / 478.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.4162, allocations: 99.88 kB / 478.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.4162, allocations: 9.781 kB / 478.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.4162, allocations: 11.88 kB / 478.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.4162, allocations: 7.984 kB / 478.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/0.4212, allocations: 2.655 MB / 481.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4212, allocations: 0 / 481.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/0.4217, allocations: 107.8 kB / 481.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.422, allocations: 100.9 kB / 481.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.4221, allocations: 15.98 kB / 481.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.4245, allocations: 2.264 MB / 483.9 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4245, allocations: 4.031 kB / 483.9 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.4269, allocations: 1.424 MB / 485.4 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.4274, allocations: 228.5 kB / 485.6 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4275, allocations: 19.98 kB / 485.6 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.4279, allocations: 35.97 kB / 485.6 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.4281, allocations: 52.42 kB / 485.7 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/0.4281, allocations: 20 kB / 485.7 MB, free: 4.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008562/0.429, allocations: 0.5693 MB / 486.3 MB, free: 3.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.429, allocations: 0 / 486.3 MB, free: 3.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001326/0.4303, allocations: 300 kB / 486.6 MB, free: 3.348 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.002752/0.433, allocations: 2.001 MB / 488.6 MB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.4349, allocations: 0.972 MB / 489.6 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4349, allocations: 192 / 489.6 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009435/0.4358, allocations: 0.525 MB / 490.1 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4371, allocations: 225 kB / 490.3 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.4542, allocations: 10.18 MB / 0.4887 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.4559, allocations: 1.728 MB / 0.4904 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006524/0.4565, allocations: 201.5 kB / 0.4906 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/0.4574, allocations: 0.6438 MB / 0.4913 GB, free: 2.434 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4574, allocations: 4 kB / 0.4913 GB, free: 2.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06725/0.5247, allocations: 24.5 MB / 0.5152 GB, free: 10.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.65, allocations: 11.94 kB / 0.5152 GB, free: 10.18 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.29983416099276]