Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 115.9 kB / 17.08 MB, free: 5.832 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.001194/0.001194, allocations: 194.4 kB / 18.01 MB, free: 4.965 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.38/1.38, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2119/0.2119, allocations: 43.52 MB / 314.8 MB, free: 468 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.001565/0.001566, allocations: 64.47 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1259, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004262/0.1302, allocations: 2.617 MB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1318, allocations: 0.6865 MB / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.1321, allocations: 7.938 kB / 0.4917 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1323, allocations: 47.52 kB / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.1325, allocations: 83.2 kB / 0.4919 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1329, allocations: 83.89 kB / 0.4919 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.1333, allocations: 330.5 kB / 0.4923 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.1335, allocations: 89.78 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1336, allocations: 123.5 kB / 0.4925 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1338, allocations: 135.4 kB / 0.4926 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.1338, allocations: 20 kB / 0.4926 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.421e-05/0.1339, allocations: 24 kB / 0.4926 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.134, allocations: 59.7 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1341, allocations: 143.3 kB / 0.4928 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1344, allocations: 306.8 kB / 0.4931 GB, free: 7.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1344, allocations: 0 / 0.4931 GB, free: 7.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1344, allocations: 0 / 0.4931 GB, free: 7.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1344, allocations: 4 kB / 0.4931 GB, free: 7.074 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009121/0.1353, allocations: 0.5763 MB / 0.4937 GB, free: 6.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1354, allocations: 19.83 kB / 0.4937 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.1355, allocations: 40.41 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.1358, allocations: 259.8 kB / 0.494 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1359, allocations: 20.94 kB / 0.494 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.1359, allocations: 28.28 kB / 0.494 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.1364, allocations: 278.2 kB / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.1365, allocations: 8 kB / 0.4943 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.1365, allocations: 15.98 kB / 0.4943 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1365, allocations: 8 kB / 0.4943 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.1369, allocations: 179.8 kB / 0.4945 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.1386, allocations: 1.313 MB / 0.4958 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.139, allocations: 242.5 kB / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.1393, allocations: 107.3 kB / 0.4961 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1393, allocations: 4 kB / 0.4961 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1393, allocations: 34.5 kB / 0.4962 GB, free: 3.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.813e-06/0.1393, allocations: 4 kB / 0.4962 GB, free: 3.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002761/0.1421, allocations: 1.568 MB / 0.4977 GB, free: 1.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/0.1422, allocations: 140.5 kB / 0.4978 GB, free: 1.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1425, allocations: 225 kB / 0.498 GB, free: 1.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1425, allocations: 29.7 kB / 0.4981 GB, free: 1.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1427, allocations: 180.2 kB / 0.4982 GB, free: 1.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.1428, allocations: 114.4 kB / 0.4984 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1429, allocations: 70.12 kB / 0.4984 GB, free: 1.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1431, allocations: 342.8 kB / 0.4987 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.1433, allocations: 102 kB / 0.4988 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.1437, allocations: 233.5 kB / 0.4991 GB, free: 384 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.1444, allocations: 369 kB / 0.4994 GB, free: 15.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1444, allocations: 7.938 kB / 0.4994 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008016/0.1452, allocations: 396.6 kB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1452, allocations: 4 kB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1452, allocations: 8 kB / 0.4998 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.1453, allocations: 4 kB / 0.4998 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.1456, allocations: 100.2 kB / 0.4999 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.1457, allocations: 12 kB / 0.4999 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1459, allocations: 27.92 kB / 0.5 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.1459, allocations: 23.98 kB / 0.5 GB, free: 15.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.0001613/0.1461, allocations: 149.7 kB / 0.5001 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1462, allocations: 31.66 kB / 0.5002 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.1463, allocations: 33.7 kB / 0.5002 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1463, allocations: 4 kB / 0.5002 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.1463, allocations: 8 kB / 0.5002 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1463, allocations: 0 / 0.5002 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1479, allocations: 0.9815 MB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1479, allocations: 4 kB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.1482, allocations: 75.88 kB / 0.5012 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.1483, allocations: 4 kB / 0.5012 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.1483, allocations: 15.88 kB / 0.5012 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1483, allocations: 0 / 0.5012 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1483, allocations: 7.984 kB / 0.5013 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1494, allocations: 0.7255 MB / 0.502 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.1495, allocations: 108.9 kB / 0.5021 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.1495, allocations: 12 kB / 0.5021 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.1498, allocations: 15.98 kB / 0.5021 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.1499, allocations: 27.95 kB / 0.5021 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.1499, allocations: 15.98 kB / 0.5021 GB, free: 13.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1501, allocations: 156.5 kB / 0.5023 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1501, allocations: 0 / 0.5023 GB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000487/0.1506, allocations: 68 kB / 0.5024 GB, free: 12.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0001288/0.1507, allocations: 107.1 kB / 0.5025 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006635/0.1514, allocations: 287.8 kB / 0.5027 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1514, allocations: 0 / 0.5027 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.1517, allocations: 127.8 kB / 0.5028 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.1524, allocations: 60.36 kB / 0.5029 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1539, allocations: 0.8932 MB / 0.5038 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1543, allocations: 0.772 MB / 0.5045 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.1544, allocations: 27.44 kB / 0.5046 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1544, allocations: 0 / 0.5046 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Templates: time 0.00612/0.1605, allocations: 3.34 MB / 0.5078 GB, free: 7.145 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches