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.001396/0.001396, allocations: 109.2 kB / 17.04 MB, free: 5.809 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.001555/0.001555, allocations: 195 kB / 17.97 MB, free: 5.027 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.382/1.382, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.1949/0.1949, allocations: 43.52 MB / 314.7 MB, free: 492 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.001425/0.001425, allocations: 69.75 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09675, allocations: 57.79 MB / 442 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003251/0.1, allocations: 2.601 MB / 444.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1011, allocations: 0.6864 MB / 445.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1012, allocations: 8 kB / 445.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1014, allocations: 47.52 kB / 445.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1015, allocations: 83.2 kB / 445.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1018, allocations: 83.88 kB / 445.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.102, allocations: 330.5 kB / 445.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1022, allocations: 89.86 kB / 445.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1023, allocations: 127.5 kB / 446 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1025, allocations: 127.4 kB / 446.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.1025, allocations: 24 kB / 446.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.418e-05/0.1025, allocations: 20 kB / 446.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.1026, allocations: 55.77 kB / 446.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.175e-05/0.1027, allocations: 147.2 kB / 446.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1029, allocations: 295 kB / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1029, allocations: 3.938 kB / 446.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1029, allocations: 3.938 kB / 446.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1029, allocations: 4 kB / 446.7 MB, free: 1.445 MB / 318.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.0007458/0.1037, allocations: 0.5846 MB / 447.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1037, allocations: 11.89 kB / 447.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.1038, allocations: 36.56 kB / 447.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1041, allocations: 271.4 kB / 447.6 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1041, allocations: 20.94 kB / 447.6 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.1041, allocations: 40.22 kB / 447.6 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.1045, allocations: 270.3 kB / 447.9 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1045, allocations: 7.938 kB / 447.9 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1046, allocations: 16 kB / 447.9 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1046, allocations: 4 kB / 447.9 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.105, allocations: 179.9 kB / 448.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.1065, allocations: 1.306 MB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.1069, allocations: 246.3 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.1072, allocations: 103.5 kB / 449.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1072, allocations: 3.984 kB / 449.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.279e-05/0.1073, allocations: 42.69 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.784e-06/0.1073, allocations: 0 / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002437/0.1097, allocations: 1.565 MB / 451.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.1098, allocations: 132.5 kB / 451.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.11, allocations: 217 kB / 451.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1101, allocations: 33.7 kB / 451.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1102, allocations: 184.1 kB / 451.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.1103, allocations: 114.3 kB / 452 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1104, allocations: 70.12 kB / 452.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1105, allocations: 335 kB / 452.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1108, allocations: 100.8 kB / 452.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.1111, allocations: 245.3 kB / 452.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.1117, allocations: 377.2 kB / 453.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1117, allocations: 3.938 kB / 453.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007047/0.1124, allocations: 400.7 kB / 453.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1125, allocations: 8 kB / 453.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1125, allocations: 4 kB / 453.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.1125, allocations: 8 kB / 453.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.1129, allocations: 95.88 kB / 453.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.1129, allocations: 12.28 kB / 453.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.1131, allocations: 27.98 kB / 453.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.1131, allocations: 16 kB / 453.7 MB, free: 9.75 MB / 334.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.0001497/0.1133, allocations: 161.6 kB / 453.8 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1134, allocations: 31.66 kB / 453.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/0.1135, allocations: 33.94 kB / 453.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1135, allocations: 7.984 kB / 453.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1135, allocations: 320 / 453.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1135, allocations: 0 / 453.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.1149, allocations: 0.9934 MB / 454.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.1149, allocations: 3.938 kB / 454.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.1153, allocations: 79.88 kB / 455 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1153, allocations: 4 kB / 455 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.1153, allocations: 11.94 kB / 455 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1153, allocations: 4 kB / 455 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1153, allocations: 3.938 kB / 455 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/0.1162, allocations: 0.725 MB / 455.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.1163, allocations: 104.7 kB / 455.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.1163, allocations: 12 kB / 455.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.1166, allocations: 19.98 kB / 455.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.1167, allocations: 27.91 kB / 455.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1167, allocations: 4 kB / 455.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1169, allocations: 164.5 kB / 456.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1169, allocations: 4 kB / 456.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004466/0.1173, allocations: 64 kB / 456.1 MB, free: 7.188 MB / 334.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.0001304/0.1175, allocations: 99.19 kB / 456.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.1181, allocations: 276.2 kB / 456.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1181, allocations: 0 / 456.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.1183, allocations: 135.7 kB / 456.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.1189, allocations: 43.88 kB / 456.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1203, allocations: 0.8809 MB / 457.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1206, allocations: 0.7681 MB / 458.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.1208, allocations: 34.95 kB / 458.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.1208, allocations: 23.44 kB / 458.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1208, allocations: 0 / 458.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of Templates: time 0.00542/0.1263, allocations: 2.401 MB / 460.8 MB, free: 2.469 MB / 334.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 -s gbode -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