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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, allocations: 123.4 kB / 17.79 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001886/0.001886, allocations: 211.6 kB / 20.75 MB, free: 2.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.5 MB / 254 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 55.91 kB / 373 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1166, allocations: 53.38 MB / 426.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.253/0.3696, allocations: 6.063 MB / 432.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00343/0.373, allocations: 1.692 MB / 434.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000723/0.3738, allocations: 62.34 kB / 434.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006865/0.3745, allocations: 320.8 kB / 434.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.3758, allocations: 381.1 kB / 434.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000756/0.3766, allocations: 350.4 kB / 435.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002595/0.3792, allocations: 2.027 MB / 437.2 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.3819, allocations: 2.027 MB / 439.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.3839, allocations: 1.079 MB / 440.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.3857, allocations: 1.227 MB / 441.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005494/0.3862, allocations: 309.1 kB / 441.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3872, allocations: 473.1 kB / 442.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006977/0.3879, allocations: 0.7364 MB / 443.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.3893, allocations: 1.273 MB / 444.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005498/0.3948, allocations: 3.821 MB / 448.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3948, allocations: 1.062 kB / 448.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3948, allocations: 0 / 448.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001536/0.395, allocations: 0 / 448.2 MB, free: 1.578 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006313/0.4013, allocations: 2.534 MB / 450.7 MB, free: 76 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.4014, allocations: 12.53 kB / 450.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006221/0.402, allocations: 326.7 kB / 451 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.4032, allocations: 283.6 kB / 451.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.406, allocations: 1.328 MB / 452.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.4061, allocations: 168.2 kB / 452.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/0.4065, allocations: 223.3 kB / 453 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006143/0.4126, allocations: 2.56 MB / 455.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.4127, allocations: 1.344 kB / 455.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.4129, allocations: 89.88 kB / 455.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.413, allocations: 89.97 kB / 455.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/0.4175, allocations: 2.142 MB / 457.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.4324, allocations: 7.678 MB / 465.6 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.4339, allocations: 1.217 MB / 466.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.435, allocations: 0.5963 MB / 467.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.4351, allocations: 8.391 kB / 467.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.4351, allocations: 49.86 kB / 467.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.356e-06/0.4351, allocations: 0 / 467.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005095/0.4402, allocations: 2.453 MB / 469.9 MB, free: 3.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.4403, allocations: 57.47 kB / 469.9 MB, free: 3.562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.4418, allocations: 0.8003 MB / 470.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.4419, allocations: 40.52 kB / 470.8 MB, free: 3.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/0.4426, allocations: 0.9443 MB / 471.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.4429, allocations: 245.2 kB / 472 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.4431, allocations: 148.5 kB / 472.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.4434, allocations: 396.7 kB / 472.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.4441, allocations: 361 kB / 472.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008921/0.445, allocations: 0.5771 MB / 473.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.4465, allocations: 0.9893 MB / 474.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.4465, allocations: 4 kB / 474.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002188/0.4487, allocations: 1.148 MB / 475.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4487, allocations: 11.98 kB / 475.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.4487, allocations: 11.98 kB / 475.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.4491, allocations: 108.7 kB / 475.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007205/0.4498, allocations: 179.9 kB / 475.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.4524, allocations: 2.328 MB / 478.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.4531, allocations: 35.97 kB / 478.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.4532, allocations: 36 kB / 478.3 MB, free: 11.63 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.001636/0.4549, allocations: 0.6536 MB / 478.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.4552, allocations: 95.38 kB / 479 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.4556, allocations: 95.69 kB / 479.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/0.4556, allocations: 8 kB / 479.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/0.4557, allocations: 7.984 kB / 479.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4557, allocations: 0 / 479.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/0.4619, allocations: 2.663 MB / 481.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4619, allocations: 4 kB / 481.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.4624, allocations: 111.8 kB / 481.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.4628, allocations: 101.3 kB / 482 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.4628, allocations: 12 kB / 482 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/0.4653, allocations: 2.273 MB / 484.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4653, allocations: 0 / 484.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.4678, allocations: 1.417 MB / 485.7 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005973/0.4684, allocations: 232.5 kB / 485.9 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.4686, allocations: 20 kB / 486 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.4692, allocations: 44.02 kB / 486 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4693, allocations: 48.48 kB / 486 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.4694, allocations: 19.98 kB / 486.1 MB, free: 3.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009844/0.4703, allocations: 0.5615 MB / 486.6 MB, free: 2.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4703, allocations: 0 / 486.6 MB, free: 2.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001394/0.4717, allocations: 303.9 kB / 486.9 MB, free: 2.691 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.002874/0.4746, allocations: 2.007 MB / 488.9 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.4765, allocations: 0.9627 MB / 489.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4765, allocations: 1.688 kB / 489.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.4775, allocations: 0.537 MB / 490.4 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.479, allocations: 213.2 kB / 490.6 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/0.4985, allocations: 10.2 MB / 0.4891 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/0.5008, allocations: 1.724 MB / 0.4908 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006553/0.5014, allocations: 205.1 kB / 0.491 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009741/0.5024, allocations: 0.6438 MB / 0.4916 GB, free: 1.758 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5024, allocations: 0 / 0.4916 GB, free: 1.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06605/0.5685, allocations: 24.53 MB / 0.5156 GB, free: 9.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.77, allocations: 7.234 kB / 0.5156 GB, free: 9.43 MB / 430.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.460574234020896]