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.001057/0.001057, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001241/0.001241, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9896/0.9896, allocations: 158.6 MB / 186 MB, free: 2.902 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.1556/0.1556, allocations: 32.38 MB / 270.7 MB, free: 14.77 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 2.405e-06/2.405e-06, allocations: 0 / 347.6 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.464e-05, allocations: 9.406 kB / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003918/0.003943, allocations: 2.852 MB / 350.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.005373, allocations: 0.7409 MB / 351.3 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.005589, allocations: 15.88 kB / 351.3 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.005835, allocations: 67.31 kB / 351.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.006112, allocations: 126.8 kB / 351.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.006426, allocations: 99.8 kB / 351.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004174/0.006844, allocations: 466.1 kB / 352 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.007098, allocations: 126.8 kB / 352.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.007431, allocations: 259.5 kB / 352.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.007628, allocations: 143.6 kB / 352.5 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.007684, allocations: 32 kB / 352.6 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.788e-05/0.007732, allocations: 36 kB / 352.6 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.007795, allocations: 87.66 kB / 352.7 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.007921, allocations: 139.7 kB / 352.8 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.008266, allocations: 302.8 kB / 353.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.008268, allocations: 0 / 353.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.008269, allocations: 0 / 353.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.008275, allocations: 0 / 353.1 MB, free: 4.301 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.0008031/0.009079, allocations: 0.691 MB / 353.8 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.009125, allocations: 8.031 kB / 353.8 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.00924, allocations: 76.66 kB / 353.9 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.009537, allocations: 244.8 kB / 354.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.009565, allocations: 29.38 kB / 354.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.009624, allocations: 40.38 kB / 354.2 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.01013, allocations: 326.8 kB / 354.5 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.01015, allocations: 8.078 kB / 354.5 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.01018, allocations: 16.38 kB / 354.5 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.0102, allocations: 15.94 kB / 354.5 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.01047, allocations: 131.9 kB / 354.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01167, allocations: 1.029 MB / 355.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.01204, allocations: 277.5 kB / 356 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.01219, allocations: 127.2 kB / 356.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.01222, allocations: 8 kB / 356.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.01225, allocations: 41.33 kB / 356.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 2.445e-06/0.01225, allocations: 0 / 356.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.002497/0.01475, allocations: 1.764 MB / 357.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.0148, allocations: 114.8 kB / 358 MB, free: 14.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.01495, allocations: 238.9 kB / 358.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.01498, allocations: 37.7 kB / 358.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.01509, allocations: 240.1 kB / 358.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.01521, allocations: 202.2 kB / 358.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.01533, allocations: 92 kB / 358.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01547, allocations: 0.5079 MB / 359.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.01559, allocations: 73.19 kB / 359.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.01577, allocations: 202.7 kB / 359.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.01608, allocations: 300.1 kB / 359.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01608, allocations: 7.875 kB / 359.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005445/0.01663, allocations: 455.8 kB / 360.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01665, allocations: 11.94 kB / 360.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01665, allocations: 0 / 360.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.01692, allocations: 123 kB / 360.5 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.01714, allocations: 91.89 kB / 360.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.02045, allocations: 6.358 MB / 366.9 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.02056, allocations: 16.09 kB / 366.9 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.02059, allocations: 24 kB / 367 MB, free: 5.504 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.0001476/0.02074, allocations: 184.5 kB / 367.1 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.02081, allocations: 55.7 kB / 367.2 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.02086, allocations: 53.73 kB / 367.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.02086, allocations: 4 kB / 367.3 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.02088, allocations: 4 kB / 367.3 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.02089, allocations: 3.984 kB / 367.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.02223, allocations: 1.187 MB / 368.4 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.02223, allocations: 0 / 368.4 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.02245, allocations: 100 kB / 368.5 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.02263, allocations: 99.08 kB / 368.6 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.02266, allocations: 16 kB / 368.7 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.02492, allocations: 5.404 MB / 374.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.02492, allocations: 8.172 kB / 374.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.02562, allocations: 0.8829 MB / 375 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.02564, allocations: 39.81 kB / 375 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.02567, allocations: 8 kB / 375 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.02579, allocations: 19.98 kB / 375 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.02587, allocations: 51.8 kB / 375.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.02589, allocations: 19.98 kB / 375.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.975e-05/0.02597, allocations: 180.1 kB / 375.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02597, allocations: 0 / 375.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004439/0.02641, allocations: 116 kB / 375.4 MB, free: 12.57 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.0004543/0.02687, allocations: 111.2 kB / 375.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007234/0.02759, allocations: 0.8248 MB / 376.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02759, allocations: 0 / 376.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.02798, allocations: 0.7012 MB / 377 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.0284, allocations: 57.84 kB / 377.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.02964, allocations: 0.9484 MB / 378 MB, free: 9.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.103e-05/0.02972, allocations: 122.4 kB / 378.1 MB, free: 9.629 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.02979, allocations: 35.27 kB / 378.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.02985, allocations: 28.48 kB / 378.2 MB, free: 9.566 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02985, allocations: 4 kB / 378.2 MB, free: 9.562 MB / 314.7 MB Notification: Performance of Templates: time 0.006545/0.03639, allocations: 4.433 MB / 382.6 MB, free: 5.172 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4223701069131494]