Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.0009418/0.0009418, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0009266/0.0009266, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8687/0.8687, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 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.1437/0.1437, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 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.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 408.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.316e-05, allocations: 6.078 kB / 408.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002697/0.00272, allocations: 2.626 MB / 410.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.003987, allocations: 0.7408 MB / 411.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.004115, allocations: 11.94 kB / 411.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.004267, allocations: 67.31 kB / 411.5 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.004421, allocations: 130.8 kB / 411.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.004649, allocations: 95.8 kB / 411.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.004951, allocations: 466.1 kB / 412.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.00515, allocations: 126.7 kB / 412.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.005353, allocations: 259.4 kB / 412.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.005496, allocations: 135.6 kB / 412.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.005541, allocations: 39.98 kB / 412.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.219e-05/0.005574, allocations: 40 kB / 412.8 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.005618, allocations: 79.67 kB / 412.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.136e-05/0.005709, allocations: 143.6 kB / 413 MB, free: 12.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.006029, allocations: 454.4 kB / 413.5 MB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.006031, allocations: 0 / 413.5 MB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.006033, allocations: 4 kB / 413.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.006038, allocations: 0 / 413.5 MB, free: 12.32 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006288/0.006667, allocations: 0.595 MB / 414.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.006709, allocations: 8.031 kB / 414.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.006765, allocations: 44.64 kB / 414.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.007016, allocations: 238 kB / 414.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.007037, allocations: 29.38 kB / 414.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.007081, allocations: 40.33 kB / 414.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.007481, allocations: 373.6 kB / 414.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.007497, allocations: 4.172 kB / 414.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.007519, allocations: 20.38 kB / 414.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.007529, allocations: 15.94 kB / 414.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.007824, allocations: 243.8 kB / 415.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.008703, allocations: 0.9032 MB / 416 MB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.009042, allocations: 331.5 kB / 416.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.009203, allocations: 154.5 kB / 416.4 MB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.009223, allocations: 7.938 kB / 416.5 MB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.009246, allocations: 50.48 kB / 416.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.009248, allocations: 0 / 416.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.002333/0.01158, allocations: 1.993 MB / 418.5 MB, free: 6.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.01163, allocations: 110.8 kB / 418.6 MB, free: 6.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.01175, allocations: 196 kB / 418.8 MB, free: 6.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01177, allocations: 33.7 kB / 418.8 MB, free: 6.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.01185, allocations: 189.5 kB / 419 MB, free: 6.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.471e-05/0.01194, allocations: 214.2 kB / 419.2 MB, free: 6.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.01202, allocations: 82.34 kB / 419.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.0121, allocations: 342.8 kB / 419.6 MB, free: 5.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.01225, allocations: 133.2 kB / 419.8 MB, free: 5.648 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.01244, allocations: 232.7 kB / 420 MB, free: 5.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.01282, allocations: 398 kB / 420.4 MB, free: 4.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.01282, allocations: 7.938 kB / 420.4 MB, free: 4.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005658/0.01339, allocations: 0.5423 MB / 420.9 MB, free: 4.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.0134, allocations: 15.92 kB / 420.9 MB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01341, allocations: 0 / 420.9 MB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.01363, allocations: 130.7 kB / 421.1 MB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.01384, allocations: 95.88 kB / 421.2 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.01651, allocations: 4.8 MB / 426 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-05/0.01661, allocations: 19.98 kB / 426 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.01663, allocations: 27.94 kB / 426 MB, free: 15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.01675, allocations: 161.8 kB / 426.2 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.0168, allocations: 43.81 kB / 426.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.01684, allocations: 45.8 kB / 426.3 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01684, allocations: 4 kB / 426.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.01685, allocations: 4 kB / 426.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01686, allocations: 3.984 kB / 426.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.01791, allocations: 1.184 MB / 427.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01792, allocations: 4 kB / 427.5 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.01812, allocations: 91.89 kB / 427.6 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.01826, allocations: 98.45 kB / 427.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.01828, allocations: 11.98 kB / 427.7 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.0202, allocations: 4.033 MB / 431.7 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.02021, allocations: 4.188 kB / 431.7 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.02126, allocations: 0.9103 MB / 432.6 MB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.02128, allocations: 35.86 kB / 432.6 MB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.0213, allocations: 12 kB / 432.7 MB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.02142, allocations: 12 kB / 432.7 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/0.0215, allocations: 55.78 kB / 432.7 MB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.02151, allocations: 16 kB / 432.7 MB, free: 7.863 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.94e-05/0.02158, allocations: 144.3 kB / 432.9 MB, free: 7.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02158, allocations: 4 kB / 432.9 MB, free: 7.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.02198, allocations: 120 kB / 433 MB, free: 7.602 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.02209, allocations: 115 kB / 433.1 MB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007107/0.0228, allocations: 0.7581 MB / 433.9 MB, free: 6.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.0228, allocations: 0 / 433.9 MB, free: 6.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.02317, allocations: 0.5663 MB / 434.4 MB, free: 6.074 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.02357, allocations: 60.84 kB / 434.5 MB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02457, allocations: 0.994 MB / 435.5 MB, free: 4.977 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.02471, allocations: 213 kB / 435.7 MB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.02477, allocations: 32.48 kB / 435.7 MB, free: 4.723 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02477, allocations: 0 / 435.7 MB, free: 4.723 MB / 410.7 MB Notification: Performance of Templates: time 0.006797/0.03157, allocations: 9.411 MB / 445.1 MB, free: 11.29 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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: 5.217105431482196]