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.001259/0.001259, allocations: 104.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.001303/0.001303, allocations: 198.2 kB / 18.02 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.317/1.317, 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.2143/0.2143, allocations: 43.53 MB / 314.8 MB, free: 472 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.001533/0.001533, allocations: 67.89 kB / 442.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1173, allocations: 57.78 MB / 0.4885 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004257/0.1216, allocations: 2.615 MB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1231, allocations: 0.6943 MB / 0.4917 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.1235, allocations: 7.938 kB / 0.4918 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.1237, allocations: 39.53 kB / 0.4918 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.124, allocations: 79.27 kB / 0.4919 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.1243, allocations: 91.81 kB / 0.492 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.1247, allocations: 330.5 kB / 0.4923 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1249, allocations: 89.78 kB / 0.4924 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.125, allocations: 127.5 kB / 0.4925 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1253, allocations: 135.4 kB / 0.4926 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.1253, allocations: 20 kB / 0.4926 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.457e-05/0.1254, allocations: 24 kB / 0.4927 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1254, allocations: 51.78 kB / 0.4927 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1255, allocations: 147.2 kB / 0.4928 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.1259, allocations: 306.8 kB / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1259, allocations: 0 / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1259, allocations: 0 / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1259, allocations: 4 kB / 0.4931 GB, free: 7.094 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.000853/0.1268, allocations: 0.573 MB / 0.4937 GB, free: 6.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1268, allocations: 11.89 kB / 0.4937 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.1269, allocations: 40.47 kB / 0.4937 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1272, allocations: 263.6 kB / 0.494 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1273, allocations: 20.94 kB / 0.494 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.1273, allocations: 36.27 kB / 0.4941 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.1278, allocations: 278.2 kB / 0.4943 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1278, allocations: 4 kB / 0.4943 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1279, allocations: 12 kB / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1279, allocations: 4 kB / 0.4943 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.1282, allocations: 179.8 kB / 0.4945 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.1298, allocations: 1.325 MB / 0.4958 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.1301, allocations: 238.4 kB / 0.496 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.1304, allocations: 107.5 kB / 0.4961 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1304, allocations: 4 kB / 0.4961 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1304, allocations: 34.56 kB / 0.4962 GB, free: 3.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.1304, allocations: 0 / 0.4962 GB, free: 3.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002442/0.1329, allocations: 1.572 MB / 0.4977 GB, free: 1.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.133, allocations: 132.5 kB / 0.4978 GB, free: 1.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.1332, allocations: 222.2 kB / 0.498 GB, free: 1.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1332, allocations: 37.7 kB / 0.4981 GB, free: 1.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.1333, allocations: 176.2 kB / 0.4982 GB, free: 1.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-05/0.1334, allocations: 118.3 kB / 0.4984 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.1335, allocations: 70.06 kB / 0.4984 GB, free: 1.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1336, allocations: 342.8 kB / 0.4988 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1338, allocations: 96.81 kB / 0.4988 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.1341, allocations: 240.9 kB / 0.4991 GB, free: 408 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.1347, allocations: 369 kB / 0.4994 GB, free: 15.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1347, allocations: 0 / 0.4994 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006726/0.1354, allocations: 396.6 kB / 0.4998 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1354, allocations: 8 kB / 0.4998 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1354, allocations: 4 kB / 0.4998 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1354, allocations: 11.98 kB / 0.4998 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.1358, allocations: 104.2 kB / 0.4999 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.1358, allocations: 8 kB / 0.4999 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.136, allocations: 31.92 kB / 0.5 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.1361, allocations: 12 kB / 0.5 GB, free: 15.41 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.0001409/0.1362, allocations: 157.6 kB / 0.5001 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.1363, allocations: 31.66 kB / 0.5002 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.1364, allocations: 29.72 kB / 0.5002 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1364, allocations: 3.984 kB / 0.5002 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1364, allocations: 4 kB / 0.5002 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.1365, allocations: 104.7 kB / 0.5003 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.1365, allocations: 12 kB / 0.5003 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.1368, allocations: 19.97 kB / 0.5003 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.1369, allocations: 27.91 kB / 0.5004 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008771/0.1378, allocations: 0.6156 MB / 0.501 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009256/0.1387, allocations: 0.8005 MB / 0.5017 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000278/0.139, allocations: 132.6 kB / 0.5019 GB, free: 13.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1391, allocations: 160.4 kB / 0.502 GB, free: 13.26 MB / 398.1 MB Notification: Performance of Backend: time 2.906e-06/0.1391, allocations: 0 / 0.502 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008949/0.14, allocations: 269.4 kB / 0.5023 GB, free: 12.99 MB / 398.1 MB Notification: Performance of SimCode: time 0.001503/0.1416, allocations: 1.28 MB / 0.5035 GB, free: 11.67 MB / 398.1 MB Notification: Performance of Templates: time 0.006436/0.148, allocations: 3.071 MB / 0.5065 GB, free: 8.605 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