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.001199/0.001199, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001271/0.001271, allocations: 165 kB / 23.79 MB, free: 0.7812 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.017/1.017, allocations: 158.6 MB / 185.7 MB, free: 2.938 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.1344/0.1344, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.583e-06/1.583e-06, allocations: 0 / 347.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.018e-05, allocations: 4.281 kB / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003708/0.003729, allocations: 2.867 MB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.005233, allocations: 0.7409 MB / 351.3 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.005451, allocations: 11.94 kB / 351.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.005657, allocations: 71.25 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.005911, allocations: 126.8 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.006234, allocations: 95.8 kB / 351.6 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.006664, allocations: 466.1 kB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.006902, allocations: 126.7 kB / 352.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.00724, allocations: 259.4 kB / 352.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.00744, allocations: 143.6 kB / 352.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.007498, allocations: 36 kB / 352.6 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.00755, allocations: 36 kB / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.007606, allocations: 87.66 kB / 352.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.007727, allocations: 139.7 kB / 352.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.00805, allocations: 298.8 kB / 353.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.008053, allocations: 0 / 353.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008054, allocations: 4 kB / 353.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.008063, allocations: 0 / 353.1 MB, free: 3.969 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.0007285/0.008791, allocations: 0.6871 MB / 353.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.008835, allocations: 8.031 kB / 353.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.008947, allocations: 76.66 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.009241, allocations: 240.8 kB / 354.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.009266, allocations: 29.38 kB / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.009331, allocations: 44.38 kB / 354.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.009831, allocations: 322.8 kB / 354.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.009854, allocations: 8.125 kB / 354.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.009885, allocations: 16.38 kB / 354.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.009899, allocations: 15.88 kB / 354.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.01017, allocations: 131.9 kB / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.01134, allocations: 1.037 MB / 355.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.01172, allocations: 277.5 kB / 356 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.01189, allocations: 122.9 kB / 356.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.01191, allocations: 4 kB / 356.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.01194, allocations: 45.33 kB / 356.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.964e-06/0.01194, allocations: 0 / 356.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.002778/0.01472, allocations: 1.77 MB / 357.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.01479, allocations: 110.8 kB / 358 MB, free: 14.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.01502, allocations: 238.9 kB / 358.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.01505, allocations: 41.7 kB / 358.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.0152, allocations: 240.1 kB / 358.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.01535, allocations: 202.2 kB / 358.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.01547, allocations: 92 kB / 358.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.01565, allocations: 0.5079 MB / 359.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.0158, allocations: 65.27 kB / 359.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.01606, allocations: 210.6 kB / 359.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.01649, allocations: 296 kB / 359.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.0165, allocations: 3.938 kB / 359.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007808/0.01728, allocations: 467.7 kB / 360.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.0173, allocations: 7.938 kB / 360.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.01731, allocations: 4 kB / 360.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.01766, allocations: 119 kB / 360.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.01799, allocations: 95.88 kB / 360.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/0.02212, allocations: 6.354 MB / 366.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.02227, allocations: 19.98 kB / 367 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.0223, allocations: 16 kB / 367 MB, free: 5.176 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.0001568/0.02246, allocations: 188.5 kB / 367.2 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.02257, allocations: 59.7 kB / 367.2 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.02263, allocations: 45.8 kB / 367.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.02263, allocations: 8 kB / 367.3 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.02264, allocations: 7.938 kB / 367.3 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.02265, allocations: 3.984 kB / 367.3 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.02427, allocations: 1.187 MB / 368.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.02427, allocations: 3.938 kB / 368.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.02459, allocations: 99.81 kB / 368.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/0.02485, allocations: 91.28 kB / 368.7 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.02488, allocations: 20 kB / 368.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.02784, allocations: 5.409 MB / 374.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02784, allocations: 0 / 374.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.02853, allocations: 0.8827 MB / 375 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.02856, allocations: 35.77 kB / 375 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.02859, allocations: 12 kB / 375 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.02871, allocations: 20.05 kB / 375 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.02882, allocations: 51.8 kB / 375.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.02884, allocations: 16 kB / 375.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.735e-05/0.02892, allocations: 180.1 kB / 375.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02892, allocations: 0 / 375.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004495/0.02937, allocations: 116 kB / 375.4 MB, free: 12.25 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.0001568/0.02953, allocations: 115.2 kB / 375.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008441/0.03037, allocations: 0.8248 MB / 376.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.03038, allocations: 4 kB / 376.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.03082, allocations: 0.7013 MB / 377 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.03125, allocations: 59.31 kB / 377.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.03259, allocations: 0.9391 MB / 378 MB, free: 9.434 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.0327, allocations: 122.4 kB / 378.1 MB, free: 9.297 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.337e-05/0.03279, allocations: 39.27 kB / 378.2 MB, free: 9.262 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.03285, allocations: 28.48 kB / 378.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.03285, allocations: 0 / 378.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of Templates: time 0.008306/0.04115, allocations: 4.608 MB / 382.8 MB, free: 4.668 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.312508535105735]