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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 116.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 198.9 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2567/0.2567, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 61.47 kB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1222, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001637/0.1238, allocations: 0.4979 MB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1258, allocations: 1.258 MB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.1258, allocations: 0 / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1259, allocations: 3.938 kB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1261, allocations: 11.98 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1272, allocations: 260.5 kB / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.1272, allocations: 0 / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1273, allocations: 7.984 kB / 0.4905 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.1273, allocations: 3.938 kB / 0.4905 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.1274, allocations: 7.938 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.906e-06/0.1274, allocations: 0 / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.1305, allocations: 0.6916 MB / 0.4912 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.1306, allocations: 0 / 0.4912 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.1306, allocations: 4 kB / 0.4912 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.1309, allocations: 171.7 kB / 0.4914 GB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1309, allocations: 4 kB / 0.4914 GB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1309, allocations: 3.938 kB / 0.4914 GB, free: 8.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1309, allocations: 4 kB / 0.4914 GB, free: 8.961 MB / 382.1 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.0003935/0.1313, allocations: 385.1 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1313, allocations: 11.89 kB / 0.4917 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.1314, allocations: 0.9375 kB / 0.4917 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1315, allocations: 164.4 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1315, allocations: 384 / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1315, allocations: 384 / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.1316, allocations: 37.81 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1316, allocations: 4 kB / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1316, allocations: 0 / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1317, allocations: 0 / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.598e-05/0.1317, allocations: 0 / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1318, allocations: 153.7 kB / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.1319, allocations: 22.45 kB / 0.4921 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.1319, allocations: 8.953 kB / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.1319, allocations: 0 / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.132, allocations: 64.2 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.132, allocations: 0 / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.1322, allocations: 75.33 kB / 0.4922 GB, free: 7.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/0.1324, allocations: 77.11 kB / 0.4923 GB, free: 7.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.1325, allocations: 89.86 kB / 0.4924 GB, free: 7.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1325, allocations: 29.7 kB / 0.4924 GB, free: 7.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1326, allocations: 84.39 kB / 0.4925 GB, free: 7.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.1327, allocations: 4 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1327, allocations: 9.719 kB / 0.4925 GB, free: 7.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1328, allocations: 318.8 kB / 0.4928 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.1328, allocations: 0 / 0.4928 GB, free: 7.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.1328, allocations: 3.938 kB / 0.4928 GB, free: 7.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.1329, allocations: 64.27 kB / 0.4929 GB, free: 7.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1329, allocations: 0 / 0.4929 GB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.812e-05/0.133, allocations: 75.25 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.133, allocations: 37.69 kB / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1331, allocations: 0 / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1331, allocations: 0 / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-06/0.1331, allocations: 4 kB / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1331, allocations: 0 / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.1331, allocations: 0 / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1331, allocations: 4 kB / 0.493 GB, free: 6.996 MB / 382.1 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 0.0001006/0.1332, allocations: 135.5 kB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.1332, allocations: 7.953 kB / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.1333, allocations: 15.12 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1333, allocations: 3.984 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1333, allocations: 0 / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1333, allocations: 0 / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.1335, allocations: 141.7 kB / 0.4933 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1335, allocations: 4 kB / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-06/0.1335, allocations: 3.938 kB / 0.4933 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1335, allocations: 0 / 0.4933 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1335, allocations: 3.984 kB / 0.4933 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1336, allocations: 0 / 0.4933 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1336, allocations: 4 kB / 0.4933 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.1337, allocations: 94.81 kB / 0.4934 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.1337, allocations: 85.03 kB / 0.4935 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.1337, allocations: 4 kB / 0.4935 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.1338, allocations: 0 / 0.4935 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.1338, allocations: 3.938 kB / 0.4935 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1338, allocations: 0 / 0.4935 GB, free: 6.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.1338, allocations: 83.31 kB / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1338, allocations: 0 / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.1342, allocations: 67.98 kB / 0.4936 GB, free: 6.238 MB / 382.1 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.0008193/0.135, allocations: 330 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.1351, allocations: 55.41 kB / 0.494 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1351, allocations: 0 / 0.494 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.1352, allocations: 63.33 kB / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1353, allocations: 0 / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.1355, allocations: 118.6 kB / 0.4942 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1358, allocations: 0.6729 MB / 0.4948 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.1358, allocations: 11.56 kB / 0.4949 GB, free: 4.902 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1358, allocations: 4 kB / 0.4949 GB, free: 4.898 MB / 382.1 MB Notification: Performance of Templates: time 0.004169/0.14, allocations: 1.666 MB / 0.4965 GB, free: 3.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches