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.00141/0.00141, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001625/0.001625, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.51/1.51, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2271/0.2271, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.954e-06/1.954e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.491e-05/3.686e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003223/0.00326, allocations: 2.647 MB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.004368, allocations: 0.7408 MB / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.00452, allocations: 11.94 kB / 350.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.004686, allocations: 55.39 kB / 350.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.004894, allocations: 134.7 kB / 350.5 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.005125, allocations: 95.86 kB / 350.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.005442, allocations: 462.1 kB / 351.1 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.00563, allocations: 134.7 kB / 351.2 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.005867, allocations: 255.5 kB / 351.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.006011, allocations: 135.6 kB / 351.6 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.006052, allocations: 36 kB / 351.6 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-05/0.006112, allocations: 36 kB / 351.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.006158, allocations: 87.66 kB / 351.7 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.00626, allocations: 135.7 kB / 351.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.006599, allocations: 462.4 kB / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.006602, allocations: 0 / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006603, allocations: 0 / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.006608, allocations: 0 / 352.3 MB, free: 4.398 MB / 282.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.0006927/0.007301, allocations: 0.5988 MB / 352.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.42e-05/0.007325, allocations: 8.031 kB / 352.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.225e-05/0.007417, allocations: 76.66 kB / 353 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.007728, allocations: 242.1 kB / 353.2 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.007749, allocations: 29.38 kB / 353.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.007797, allocations: 40.38 kB / 353.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.008313, allocations: 385.5 kB / 353.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.00833, allocations: 8.141 kB / 353.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.008357, allocations: 16.38 kB / 353.7 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.008364, allocations: 15.94 kB / 353.7 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.008778, allocations: 243.8 kB / 353.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.01001, allocations: 0.9074 MB / 354.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.01045, allocations: 324.1 kB / 355.2 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.01068, allocations: 170.6 kB / 355.3 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.01071, allocations: 8 kB / 355.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.01074, allocations: 38.56 kB / 355.4 MB, free: 1.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.673e-06/0.01074, allocations: 0 / 355.4 MB, free: 1.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.003769/0.01451, allocations: 2.012 MB / 357.4 MB, free: 15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.01462, allocations: 110.8 kB / 357.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.01487, allocations: 196.2 kB / 357.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.01491, allocations: 29.7 kB / 357.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.01509, allocations: 189.4 kB / 357.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.0153, allocations: 210.2 kB / 358.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.01545, allocations: 86.34 kB / 358.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.01569, allocations: 342.8 kB / 358.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.016, allocations: 129.2 kB / 358.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.0164, allocations: 236.7 kB / 358.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/0.01714, allocations: 398 kB / 359.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.01715, allocations: 7.938 kB / 359.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001227/0.01838, allocations: 0.5695 MB / 359.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.01841, allocations: 11.94 kB / 359.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.01842, allocations: 4 kB / 359.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004822/0.0189, allocations: 126.6 kB / 360 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.01932, allocations: 99.83 kB / 360.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005984/0.0253, allocations: 4.823 MB / 364.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.02555, allocations: 16 kB / 364.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.02559, allocations: 27.98 kB / 365 MB, free: 6.965 MB / 298.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.0002825/0.02587, allocations: 165.8 kB / 365.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.026, allocations: 51.75 kB / 365.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.421e-05/0.02609, allocations: 49.8 kB / 365.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.0261, allocations: 4 kB / 365.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/0.02612, allocations: 4 kB / 365.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.02612, allocations: 0 / 365.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.02836, allocations: 1.187 MB / 366.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.02836, allocations: 0 / 366.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.0288, allocations: 99.88 kB / 366.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003302/0.02913, allocations: 98.61 kB / 366.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.02916, allocations: 12 kB / 366.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004582/0.03374, allocations: 4.044 MB / 370.7 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.03375, allocations: 8.016 kB / 370.7 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.03544, allocations: 0.9403 MB / 371.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.0355, allocations: 31.8 kB / 371.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.03554, allocations: 16 kB / 371.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.03582, allocations: 12 kB / 371.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.03595, allocations: 51.84 kB / 371.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.03597, allocations: 12 kB / 371.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.03612, allocations: 148.2 kB / 371.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03612, allocations: 0 / 371.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008009/0.03692, allocations: 120 kB / 372 MB, free: 15.51 MB / 314.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.0001824/0.03711, allocations: 115.2 kB / 372.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.03859, allocations: 0.7675 MB / 372.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.03859, allocations: 0 / 372.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000914/0.03951, allocations: 0.5581 MB / 373.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.04017, allocations: 61.58 kB / 373.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.0422, allocations: 0.9712 MB / 374.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.0425, allocations: 217 kB / 374.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.04265, allocations: 35.25 kB / 374.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.207e-05/0.04273, allocations: 28.5 kB / 374.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.04274, allocations: 3.938 kB / 374.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of Templates: time 0.01143/0.05417, allocations: 4.383 MB / 379.1 MB, free: 8.273 MB / 314.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.133991035982035]