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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 109 kB / 20.45 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 211.3 kB / 23.75 MB, free: 4.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1999/0.1999, allocations: 44.23 MB / 331 MB, free: 9.535 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 76.39 kB / 468.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.1013, allocations: 61.03 MB / 0.5173 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003756/0.1051, allocations: 2.645 MB / 0.5199 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1062, allocations: 0.7059 MB / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1063, allocations: 7.938 kB / 0.5206 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1065, allocations: 47.52 kB / 0.5207 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.1066, allocations: 83.27 kB / 0.5208 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1068, allocations: 83.83 kB / 0.5208 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.1072, allocations: 338.5 kB / 0.5212 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1074, allocations: 57.94 kB / 0.5212 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.1075, allocations: 135.5 kB / 0.5213 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1077, allocations: 135.3 kB / 0.5215 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.1078, allocations: 24 kB / 0.5215 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-05/0.1078, allocations: 20 kB / 0.5215 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.1078, allocations: 55.78 kB / 0.5216 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.108, allocations: 151.2 kB / 0.5217 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1083, allocations: 298.7 kB / 0.522 GB, free: 2.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1083, allocations: 0 / 0.522 GB, free: 2.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1083, allocations: 4 kB / 0.522 GB, free: 2.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1083, allocations: 0 / 0.522 GB, free: 2.078 MB / 398.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.0008418/0.1092, allocations: 0.5129 MB / 0.5225 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1092, allocations: 8.031 kB / 0.5225 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.1093, allocations: 32.75 kB / 0.5225 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.1096, allocations: 209.9 kB / 0.5227 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1096, allocations: 12.88 kB / 0.5227 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.1097, allocations: 44.25 kB / 0.5228 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.1101, allocations: 277.4 kB / 0.5231 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1102, allocations: 4 kB / 0.5231 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1102, allocations: 8 kB / 0.5231 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1102, allocations: 8 kB / 0.5231 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.1106, allocations: 191.8 kB / 0.5233 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.1122, allocations: 1.25 MB / 0.5245 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.1126, allocations: 238.4 kB / 0.5247 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.1128, allocations: 95.52 kB / 0.5248 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1128, allocations: 4 kB / 0.5248 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.1129, allocations: 42.56 kB / 0.5248 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.1129, allocations: 0 / 0.5248 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002285/0.1152, allocations: 1.19 MB / 0.526 GB, free: 13.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.1153, allocations: 140.5 kB / 0.5261 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.1155, allocations: 228.9 kB / 0.5264 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1155, allocations: 33.7 kB / 0.5264 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1156, allocations: 172.6 kB / 0.5266 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.436e-05/0.1157, allocations: 126.9 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/0.1158, allocations: 70.06 kB / 0.5267 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.116, allocations: 339 kB / 0.5271 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.1162, allocations: 100.8 kB / 0.5272 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.1165, allocations: 241.4 kB / 0.5274 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.1171, allocations: 369 kB / 0.5277 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1171, allocations: 4 kB / 0.5277 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007242/0.1179, allocations: 393.9 kB / 0.5281 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1179, allocations: 12.06 kB / 0.5281 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1179, allocations: 4 kB / 0.5281 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.1179, allocations: 8 kB / 0.5281 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.1183, allocations: 107.8 kB / 0.5282 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1183, allocations: 4 kB / 0.5282 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1185, allocations: 31.88 kB / 0.5283 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.1185, allocations: 16 kB / 0.5283 GB, free: 11.09 MB / 414.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.0001483/0.1186, allocations: 153.7 kB / 0.5284 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.1187, allocations: 31.78 kB / 0.5285 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.1188, allocations: 33.72 kB / 0.5285 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1188, allocations: 4 kB / 0.5285 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1188, allocations: 0 / 0.5285 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1188, allocations: 7.984 kB / 0.5285 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.1203, allocations: 0.9578 MB / 0.5294 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1203, allocations: 4.062 kB / 0.5295 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.1206, allocations: 79.89 kB / 0.5295 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1206, allocations: 4.062 kB / 0.5295 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1206, allocations: 11.94 kB / 0.5295 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.1207, allocations: 8.062 kB / 0.5296 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1207, allocations: 3.984 kB / 0.5296 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009658/0.1216, allocations: 0.7289 MB / 0.5303 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.1217, allocations: 31.86 kB / 0.5303 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.1217, allocations: 11.94 kB / 0.5303 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.122, allocations: 19.98 kB / 0.5303 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.122, allocations: 23.95 kB / 0.5304 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1221, allocations: 11.94 kB / 0.5304 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1222, allocations: 160.5 kB / 0.5305 GB, free: 8.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1222, allocations: 0 / 0.5305 GB, free: 8.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000443/0.1226, allocations: 68 kB / 0.5306 GB, free: 8.652 MB / 414.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.0001096/0.1227, allocations: 103.2 kB / 0.5307 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005868/0.1233, allocations: 268.9 kB / 0.5309 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1233, allocations: 0 / 0.5309 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.1236, allocations: 123.9 kB / 0.5311 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.1242, allocations: 48.38 kB / 0.5311 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.1256, allocations: 0.9178 MB / 0.532 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.126, allocations: 0.7681 MB / 0.5327 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.1261, allocations: 27.44 kB / 0.5328 GB, free: 6.324 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.1261, allocations: 0 / 0.5328 GB, free: 6.324 MB / 414.1 MB Notification: Performance of Templates: time 0.005397/0.1315, allocations: 3.368 MB / 0.5361 GB, free: 2.957 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.815299983834848]