Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.001124/0.001125, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.336/1.336, 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.1968/0.1968, allocations: 43.52 MB / 314.8 MB, free: 452 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.001386/0.001386, allocations: 69.47 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1122, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002958/0.1152, allocations: 1.903 MB / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008086/0.116, allocations: 0.5385 MB / 0.4909 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.1161, allocations: 4 kB / 0.4909 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1163, allocations: 15.8 kB / 0.4909 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.1164, allocations: 39.64 kB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.1166, allocations: 39.89 kB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1167, allocations: 155.2 kB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.1169, allocations: 65.58 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.117, allocations: 59.83 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1171, allocations: 67.64 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1172, allocations: 12 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.555e-05/0.1172, allocations: 12 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.1173, allocations: 23.92 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.894e-05/0.1173, allocations: 71.67 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1175, allocations: 147.5 kB / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1175, allocations: 4 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1175, allocations: 0 / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1175, allocations: 0 / 0.4916 GB, free: 8.637 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005296/0.1181, allocations: 438.9 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.1181, allocations: 11.89 kB / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1182, allocations: 16.75 kB / 0.492 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1184, allocations: 208.1 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1184, allocations: 12.38 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1185, allocations: 12.38 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.1187, allocations: 137.7 kB / 0.4924 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1187, allocations: 4 kB / 0.4924 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1188, allocations: 7.938 kB / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1188, allocations: 4 kB / 0.4924 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.119, allocations: 75.95 kB / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.1196, allocations: 464.2 kB / 0.4929 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1199, allocations: 118.4 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.12, allocations: 64.81 kB / 0.4931 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.12, allocations: 0 / 0.4931 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.12, allocations: 38.56 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.12, allocations: 0 / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001401/0.1214, allocations: 0.7983 MB / 0.4939 GB, free: 6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.1215, allocations: 59.41 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1216, allocations: 141.4 kB / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1216, allocations: 25.7 kB / 0.4941 GB, free: 5.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.1217, allocations: 112.3 kB / 0.4942 GB, free: 5.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.1217, allocations: 74.92 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.1218, allocations: 33.72 kB / 0.4944 GB, free: 5.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1219, allocations: 326.8 kB / 0.4947 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.122, allocations: 47.98 kB / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1221, allocations: 75.34 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1223, allocations: 139.3 kB / 0.4949 GB, free: 4.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1223, allocations: 0 / 0.4949 GB, free: 4.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003496/0.1227, allocations: 202.2 kB / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1227, allocations: 4 kB / 0.4951 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1227, allocations: 3.938 kB / 0.4951 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.1229, allocations: 48.89 kB / 0.4952 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1231, allocations: 35.92 kB / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.1244, allocations: 1.736 MB / 0.4969 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.1245, allocations: 8.094 kB / 0.4969 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1245, allocations: 8 kB / 0.4969 GB, free: 2.719 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/0.1247, allocations: 125.8 kB / 0.497 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1247, allocations: 15.91 kB / 0.497 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.1247, allocations: 17.17 kB / 0.4971 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1247, allocations: 11.91 kB / 0.4971 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1248, allocations: 3.938 kB / 0.4971 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.1248, allocations: 88.92 kB / 0.4972 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1248, allocations: 12 kB / 0.4972 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.1249, allocations: 7.922 kB / 0.4972 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.125, allocations: 16.17 kB / 0.4972 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005376/0.1255, allocations: 293.6 kB / 0.4975 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000431/0.126, allocations: 402.9 kB / 0.4979 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001002/0.1261, allocations: 60.64 kB / 0.4979 GB, free: 1.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.938e-05/0.1262, allocations: 106.7 kB / 0.498 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Backend: time 3.91e-07/0.1262, allocations: 0 / 0.498 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006411/0.1268, allocations: 303.5 kB / 0.4983 GB, free: 1.215 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009262/0.1278, allocations: 0.8858 MB / 0.4992 GB, free: 288 kB / 382.1 MB Notification: Performance of Templates: time 0.005128/0.1329, allocations: 1.808 MB / 0.5009 GB, free: 14.47 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches