Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 97.94 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 45.14 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.424e-05/1.426e-05, allocations: 7.281 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.505, allocations: 87.96 MB / 0.5903 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.5053, allocations: 57.09 kB / 0.5903 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0164/0.5217, allocations: 5.959 MB / 0.5961 GB, free: 9.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5217, allocations: 0 / 0.5961 GB, free: 9.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.5217, allocations: 0.5312 kB / 0.5961 GB, free: 9.781 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.0003958/0.5221, allocations: 409.6 kB / 0.5965 GB, free: 9.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5222, allocations: 12.8 kB / 0.5965 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.5222, allocations: 4.844 kB / 0.5965 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.5223, allocations: 171 kB / 0.5967 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.5224, allocations: 0 / 0.5967 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.5224, allocations: 0 / 0.5967 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.317e-05/0.5224, allocations: 0 / 0.5967 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.994e-05/0.5225, allocations: 33.7 kB / 0.5967 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.5225, allocations: 3.984 kB / 0.5967 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.5225, allocations: 0 / 0.5967 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-06/0.5225, allocations: 0 / 0.5967 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.5226, allocations: 145.3 kB / 0.5969 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.155e-05/0.5227, allocations: 18.58 kB / 0.5969 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.136e-05/0.5227, allocations: 4.859 kB / 0.5969 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.5227, allocations: 64 / 0.5969 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.5227, allocations: 60.27 kB / 0.5969 GB, free: 8.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.5227, allocations: 0 / 0.5969 GB, free: 8.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.5229, allocations: 40.81 kB / 0.597 GB, free: 8.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.5229, allocations: 81.14 kB / 0.5971 GB, free: 8.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.918e-05/0.523, allocations: 85 kB / 0.5971 GB, free: 8.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.523, allocations: 29.7 kB / 0.5972 GB, free: 8.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.5231, allocations: 84.08 kB / 0.5973 GB, free: 8.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.5231, allocations: 0 / 0.5973 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.5231, allocations: 0 / 0.5973 GB, free: 8.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5232, allocations: 314.1 kB / 0.5976 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.5233, allocations: 0 / 0.5976 GB, free: 8.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-06/0.5233, allocations: 8.125 kB / 0.5976 GB, free: 8.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.5233, allocations: 0 / 0.5976 GB, free: 8.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5233, allocations: 3.938 kB / 0.5976 GB, free: 8.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.635e-05/0.5234, allocations: 45.55 kB / 0.5976 GB, free: 8.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.5234, allocations: 31.27 kB / 0.5976 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5234, allocations: 0 / 0.5976 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.5234, allocations: 4 kB / 0.5976 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.5234, allocations: 0 / 0.5976 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.5235, allocations: 0 / 0.5976 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.5235, allocations: 0 / 0.5976 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.5235, allocations: 4.094 kB / 0.5976 GB, free: 8.02 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.861e-05/0.5236, allocations: 138 kB / 0.5978 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.5236, allocations: 3.953 kB / 0.5978 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.325e-05/0.5236, allocations: 7.703 kB / 0.5978 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.5236, allocations: 0 / 0.5978 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5236, allocations: 0 / 0.5978 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5236, allocations: 3.938 kB / 0.5978 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.5237, allocations: 130.2 kB / 0.5979 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5237, allocations: 0 / 0.5979 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-07/0.5237, allocations: 4 kB / 0.5979 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.5237, allocations: 0 / 0.5979 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.5237, allocations: 3.953 kB / 0.5979 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.5237, allocations: 4 kB / 0.5979 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5238, allocations: 0 / 0.5979 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.007e-05/0.5238, allocations: 56.83 kB / 0.598 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.5239, allocations: 85.09 kB / 0.5981 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.5239, allocations: 0 / 0.5981 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-06/0.5239, allocations: 11.92 kB / 0.5981 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.5239, allocations: 0 / 0.5981 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.5239, allocations: 0 / 0.5981 GB, free: 7.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.679e-05/0.524, allocations: 79.28 kB / 0.5982 GB, free: 7.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.524, allocations: 0 / 0.5982 GB, free: 7.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.5243, allocations: 82.28 kB / 0.5982 GB, free: 7.352 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006389/0.525, allocations: 344.7 kB / 0.5986 GB, free: 7.047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.606e-05/0.5251, allocations: 55.41 kB / 0.5986 GB, free: 6.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5251, allocations: 0 / 0.5986 GB, free: 6.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.5251, allocations: 58.09 kB / 0.5987 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.659e-05/0.5252, allocations: 4.125 kB / 0.5987 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000136/0.5253, allocations: 55.94 kB / 0.5987 GB, free: 6.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.5256, allocations: 0.6768 MB / 0.5994 GB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.292e-06/0.5256, allocations: 0 / 0.5994 GB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-06/0.5257, allocations: 7.438 kB / 0.5994 GB, free: 6.121 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5257, allocations: 0 / 0.5994 GB, free: 6.121 MB / 394.7 MB Notification: Performance of Templates: time 0.003855/0.5295, allocations: 1.565 MB / 0.6009 GB, free: 4.574 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches