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.001151/0.001151, allocations: 113.5 kB / 17.08 MB, free: 6.012 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.001185/0.001185, allocations: 198.3 kB / 18.01 MB, free: 5.086 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.349/1.349, 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.2206/0.2206, 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.00162/0.00162, allocations: 63.89 kB / 442.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1199, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004259/0.1242, allocations: 2.613 MB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1257, allocations: 0.6826 MB / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.126, allocations: 11.94 kB / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.1263, allocations: 43.53 kB / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.1266, allocations: 87.19 kB / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.127, allocations: 83.89 kB / 0.4919 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.1275, allocations: 338.5 kB / 0.4923 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.1278, allocations: 81.8 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.1281, allocations: 131.5 kB / 0.4925 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.1283, allocations: 131.4 kB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.1284, allocations: 24 kB / 0.4926 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.1284, allocations: 20 kB / 0.4926 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.1285, allocations: 51.78 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1287, allocations: 143.3 kB / 0.4928 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.1291, allocations: 302.8 kB / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1291, allocations: 0 / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1291, allocations: 0 / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1291, allocations: 4 kB / 0.4931 GB, free: 7.078 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.001081/0.1302, allocations: 0.588 MB / 0.4937 GB, free: 6.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1302, allocations: 11.89 kB / 0.4937 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.1303, allocations: 40.41 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.1308, allocations: 263.8 kB / 0.494 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.1308, allocations: 16.94 kB / 0.494 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.1309, allocations: 32.28 kB / 0.494 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.1314, allocations: 282.2 kB / 0.4943 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1314, allocations: 8 kB / 0.4943 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.1315, allocations: 4 kB / 0.4943 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.1315, allocations: 8 kB / 0.4943 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.1319, allocations: 191.4 kB / 0.4945 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.1337, allocations: 1.309 MB / 0.4958 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.1342, allocations: 250.4 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1344, allocations: 103.4 kB / 0.4961 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1344, allocations: 4 kB / 0.4961 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1344, allocations: 42.48 kB / 0.4962 GB, free: 3.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.014e-06/0.1344, allocations: 0 / 0.4962 GB, free: 3.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.00262/0.1371, allocations: 1.56 MB / 0.4977 GB, free: 1.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.1372, allocations: 132.5 kB / 0.4978 GB, free: 1.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1374, allocations: 225 kB / 0.498 GB, free: 1.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1374, allocations: 30.92 kB / 0.4981 GB, free: 1.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1375, allocations: 184.2 kB / 0.4982 GB, free: 1.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/0.1376, allocations: 114.3 kB / 0.4984 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1378, allocations: 74.12 kB / 0.4984 GB, free: 1.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1379, allocations: 338.8 kB / 0.4987 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.1381, allocations: 96.81 kB / 0.4988 GB, free: 0.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.1385, allocations: 241.7 kB / 0.4991 GB, free: 384 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.1391, allocations: 369 kB / 0.4994 GB, free: 15.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1391, allocations: 4 kB / 0.4994 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007527/0.1399, allocations: 396.7 kB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1399, allocations: 8 kB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.14, allocations: 4 kB / 0.4998 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.14, allocations: 8 kB / 0.4998 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.1404, allocations: 100.2 kB / 0.4999 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.1404, allocations: 15.92 kB / 0.4999 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.1406, allocations: 27.92 kB / 0.5 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1406, allocations: 20 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.0001373/0.1408, allocations: 145.7 kB / 0.5001 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1409, allocations: 31.66 kB / 0.5001 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.814e-05/0.141, allocations: 33.7 kB / 0.5002 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.141, allocations: 8 kB / 0.5002 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.141, allocations: 4 kB / 0.5002 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.141, allocations: 3.984 kB / 0.5002 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.1425, allocations: 0.9815 MB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1425, allocations: 4 kB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.1429, allocations: 71.89 kB / 0.5012 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.1429, allocations: 7.984 kB / 0.5012 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.143, allocations: 12.22 kB / 0.5012 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.143, allocations: 7.938 kB / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.143, allocations: 0 / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.144, allocations: 0.7288 MB / 0.502 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.1441, allocations: 100.7 kB / 0.5021 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.1441, allocations: 12 kB / 0.5021 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.1444, allocations: 24.22 kB / 0.5021 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.1445, allocations: 27.91 kB / 0.5021 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1445, allocations: 16 kB / 0.5021 GB, free: 13.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1447, allocations: 160.5 kB / 0.5023 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1447, allocations: 0 / 0.5023 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.1452, allocations: 64 kB / 0.5023 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.0001158/0.1453, allocations: 107.1 kB / 0.5025 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.146, allocations: 285.1 kB / 0.5027 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.146, allocations: 0 / 0.5027 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.1463, allocations: 132.6 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.000666/0.147, allocations: 55.16 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.001568/0.1485, allocations: 0.8928 MB / 0.5038 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1489, allocations: 0.7686 MB / 0.5045 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.149, allocations: 35.42 kB / 0.5046 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.149, allocations: 0 / 0.5046 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Templates: time 0.006722/0.1558, allocations: 3.308 MB / 0.5078 GB, free: 7.172 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