Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.0008544/0.0008544, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008278/0.0008278, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8498/0.8498, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.126/0.126, allocations: 32.38 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.341e-05, allocations: 2.281 kB / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.00157/0.001593, allocations: 0.4985 MB / 407.3 MB, free: 1.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.003341, allocations: 1.357 MB / 408.7 MB, free: 416 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.003372, allocations: 4 kB / 408.7 MB, free: 412 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.00339, allocations: 0 / 408.7 MB, free: 412 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.003634, allocations: 11.92 kB / 408.7 MB, free: 400 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.004744, allocations: 255.1 kB / 408.9 MB, free: 144 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.004808, allocations: 7.938 kB / 408.9 MB, free: 136 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.00485, allocations: 3.984 kB / 408.9 MB, free: 132 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.004889, allocations: 8 kB / 409 MB, free: 124 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.004933, allocations: 3.984 kB / 409 MB, free: 120 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.004943, allocations: 4 kB / 409 MB, free: 116 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.006611, allocations: 0.7086 MB / 409.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.006623, allocations: 0 / 409.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.006651, allocations: 7.984 kB / 409.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.006934, allocations: 219.4 kB / 409.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.006938, allocations: 0 / 409.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.006939, allocations: 3.938 kB / 409.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.006944, allocations: 0 / 409.9 MB, free: 15.21 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003334/0.007277, allocations: 307.8 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.007318, allocations: 8.031 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.545e-05/0.007344, allocations: 34.73 kB / 410.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.007373, allocations: 4.938 kB / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.554e-05/0.007448, allocations: 105.8 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.007457, allocations: 384 / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.007464, allocations: 4.375 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.332e-05/0.007557, allocations: 55.97 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.00757, allocations: 4.125 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.007579, allocations: 3.938 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.007587, allocations: 3.984 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.007617, allocations: 41.62 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.007736, allocations: 116.8 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.838e-05/0.007784, allocations: 40.28 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.007812, allocations: 34.62 kB / 410.6 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.00782, allocations: 0 / 410.6 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.007862, allocations: 72.19 kB / 410.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.007863, allocations: 0 / 410.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000224/0.008087, allocations: 122.7 kB / 410.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.008139, allocations: 77.11 kB / 410.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/0.00822, allocations: 101.8 kB / 411 MB, free: 13.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.008233, allocations: 25.7 kB / 411 MB, free: 13.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.00827, allocations: 80.14 kB / 411.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.008296, allocations: 3.953 kB / 411.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.008323, allocations: 13.72 kB / 411.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.008421, allocations: 319.1 kB / 411.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.008449, allocations: 29.7 kB / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.008466, allocations: 29.69 kB / 411.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.27e-05/0.008519, allocations: 60.27 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.008521, allocations: 3.938 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.511e-05/0.008607, allocations: 89.11 kB / 411.6 MB, free: 13.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.008652, allocations: 37.69 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.00866, allocations: 3.938 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.008679, allocations: 0 / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-06/0.00868, allocations: 4.094 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.008688, allocations: 0 / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.008716, allocations: 3.938 kB / 411.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.008725, allocations: 0 / 411.7 MB, free: 13.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.074e-05/0.008816, allocations: 135.5 kB / 411.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.008821, allocations: 0 / 411.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.008837, allocations: 11.09 kB / 411.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.008842, allocations: 3.984 kB / 411.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.008847, allocations: 0 / 411.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.00885, allocations: 0 / 411.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.792e-05/0.008938, allocations: 120.8 kB / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.008939, allocations: 4 kB / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.008939, allocations: 0 / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.008941, allocations: 0 / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.008949, allocations: 3.938 kB / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008951, allocations: 0 / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.008955, allocations: 11.88 kB / 412 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.009071, allocations: 120.5 kB / 412.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.009076, allocations: 3.938 kB / 412.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.009093, allocations: 7.922 kB / 412.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.009104, allocations: 0 / 412.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.009125, allocations: 8.031 kB / 412.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.009129, allocations: 3.984 kB / 412.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.009161, allocations: 75.28 kB / 412.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009161, allocations: 4 kB / 412.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002768/0.009438, allocations: 59.86 kB / 412.3 MB, free: 12.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008223/0.01026, allocations: 0.8995 MB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01038, allocations: 118.7 kB / 413.3 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01038, allocations: 0 / 413.3 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.01041, allocations: 81.11 kB / 413.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.01051, allocations: 0 / 413.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.01083, allocations: 172 kB / 413.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.01086, allocations: 55.48 kB / 413.6 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.394e-06/0.01087, allocations: 4 kB / 413.6 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.0109, allocations: 16.44 kB / 413.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.0109, allocations: 0 / 413.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.02999, allocations: 3.225 MB / 416.8 MB, free: 7.691 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/6.641, allocations: 15.73 kB / 416.8 MB, free: 7.676 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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: 8.489472541026771]