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.001703/0.001703, allocations: 116.5 kB / 18.5 MB, free: 4.566 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.002108/0.002108, allocations: 212.9 kB / 21.46 MB, free: 1.605 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.49/1.49, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.002774/0.002774, allocations: 67.83 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1306, allocations: 53.32 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008651/0.1392, allocations: 6.074 MB / 432.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.1435, allocations: 1.69 MB / 434.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.1447, allocations: 51.81 kB / 434.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1458, allocations: 325.4 kB / 434.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.1477, allocations: 369.5 kB / 435.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.1489, allocations: 363.5 kB / 435.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.1518, allocations: 2.024 MB / 437.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003872/0.1557, allocations: 2.028 MB / 439.6 MB, free: 7.992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.1575, allocations: 1.052 MB / 440.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/0.16, allocations: 1.226 MB / 441.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.161, allocations: 312 kB / 442.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1624, allocations: 471.7 kB / 442.6 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009069/0.1633, allocations: 0.7441 MB / 443.4 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.1649, allocations: 1.268 MB / 444.6 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2489/0.4138, allocations: 3.813 MB / 448.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.4138, allocations: 0.6875 kB / 448.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4138, allocations: 1.125 kB / 448.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000138/0.4139, allocations: 1.312 kB / 448.4 MB, free: 14.18 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005562/0.4195, allocations: 2.531 MB / 451 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4195, allocations: 10.41 kB / 451 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005056/0.42, allocations: 325.9 kB / 451.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.421, allocations: 278.6 kB / 451.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.4238, allocations: 1.334 MB / 452.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.4239, allocations: 170.4 kB / 453.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003812/0.4243, allocations: 219.1 kB / 453.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005408/0.4297, allocations: 2.563 MB / 455.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.606e-05/0.4297, allocations: 1.125 kB / 455.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.4299, allocations: 90.94 kB / 455.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.43, allocations: 85.41 kB / 456 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004313/0.4343, allocations: 2.147 MB / 458.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.4492, allocations: 7.684 MB / 465.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.4504, allocations: 1.213 MB / 467.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.4515, allocations: 0.597 MB / 467.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.682e-05/0.4516, allocations: 9.172 kB / 467.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.4516, allocations: 41.81 kB / 467.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.086e-06/0.4516, allocations: 2.031 kB / 467.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004373/0.456, allocations: 2.447 MB / 470.2 MB, free: 5.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.456, allocations: 62.59 kB / 470.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.4573, allocations: 0.8102 MB / 471 MB, free: 4.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.4574, allocations: 44.11 kB / 471.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005616/0.4579, allocations: 0.9392 MB / 472 MB, free: 4.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.4581, allocations: 241.8 kB / 472.3 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.4583, allocations: 142.4 kB / 472.4 MB, free: 3.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4585, allocations: 394.7 kB / 472.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.459, allocations: 364.2 kB / 473.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.4596, allocations: 0.5833 MB / 473.7 MB, free: 3.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.4608, allocations: 0.9858 MB / 474.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.4608, allocations: 3.531 kB / 474.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001893/0.4627, allocations: 1.156 MB / 475.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.4627, allocations: 8.281 kB / 475.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.4627, allocations: 6.969 kB / 475.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/0.463, allocations: 109.1 kB / 476 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.4637, allocations: 175.2 kB / 476.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.4656, allocations: 2.324 MB / 478.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/0.4663, allocations: 41.23 kB / 478.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.4663, allocations: 34.89 kB / 478.6 MB, free: 15.77 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.001298/0.4676, allocations: 0.6592 MB / 479.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.4679, allocations: 93.5 kB / 479.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.4682, allocations: 101 kB / 479.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.4682, allocations: 8.438 kB / 479.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.4682, allocations: 1.375 kB / 479.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4682, allocations: 5.172 kB / 479.4 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/0.4741, allocations: 2.664 MB / 482.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4741, allocations: 0 / 482.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/0.4746, allocations: 110.1 kB / 482.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.4749, allocations: 98.62 kB / 482.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.4749, allocations: 26.73 kB / 482.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.4774, allocations: 2.264 MB / 484.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4774, allocations: 3.469 kB / 484.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.4796, allocations: 1.413 MB / 486 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/0.4802, allocations: 232.8 kB / 486.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.4804, allocations: 17.31 kB / 486.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.4809, allocations: 46.42 kB / 486.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.481, allocations: 42.44 kB / 486.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.481, allocations: 22.61 kB / 486.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008684/0.4819, allocations: 0.5611 MB / 486.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4819, allocations: 0 / 486.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001464/0.4834, allocations: 298.8 kB / 487.2 MB, free: 10.07 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.002821/0.4862, allocations: 2.003 MB / 489.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.488, allocations: 0.9669 MB / 490.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.488, allocations: 3.719 kB / 490.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009485/0.4889, allocations: 0.535 MB / 490.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.4902, allocations: 227.2 kB / 490.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.509, allocations: 10.19 MB / 0.4894 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.5112, allocations: 1.732 MB / 0.4911 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006878/0.5119, allocations: 206.3 kB / 0.4913 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009696/0.5128, allocations: 0.6438 MB / 0.4919 GB, free: 11.39 MB / 398.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5128, allocations: 0 / 0.4919 GB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07269/0.5855, allocations: 24.54 MB / 0.5158 GB, free: 3.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.87, allocations: 4.625 kB / 0.5159 GB, free: 3.094 MB / 414.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.47495186002925]