Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001291/0.001291, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001486/0.001486, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.994/0.994, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2785/0.2785, allocations: 32.81 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.666e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002907/0.002924, allocations: 2.883 MB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.00382, allocations: 0.7749 MB / 379.7 MB, free: 1 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.003938, allocations: 15.88 kB / 379.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.004081, allocations: 59.38 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.004241, allocations: 138.8 kB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.00449, allocations: 123.7 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.004794, allocations: 462.1 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.004983, allocations: 126.7 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.005242, allocations: 267.4 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.00539, allocations: 147.6 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.005429, allocations: 36 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.005494, allocations: 40 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.00554, allocations: 87.59 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.606e-05/0.005636, allocations: 139.7 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.005904, allocations: 302.8 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005906, allocations: 0 / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005907, allocations: 4 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005911, allocations: 0 / 381.6 MB, free: 15.08 MB / 362.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.0006064/0.006518, allocations: 0.7026 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.006552, allocations: 8.031 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.006749, allocations: 100.6 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.006984, allocations: 245 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.007005, allocations: 33.38 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.007051, allocations: 40.38 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.007407, allocations: 330.7 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.007423, allocations: 8.141 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.007445, allocations: 16.38 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.007456, allocations: 15.94 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.007647, allocations: 131.8 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.008534, allocations: 1.037 MB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.008822, allocations: 277.5 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.008945, allocations: 115.2 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.008966, allocations: 8 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.008988, allocations: 45.38 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.443e-06/0.008989, allocations: 0 / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001952/0.01094, allocations: 1.767 MB / 386.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.01098, allocations: 110.8 kB / 386.5 MB, free: 9.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.01112, allocations: 250.7 kB / 386.8 MB, free: 9.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.01114, allocations: 29.7 kB / 386.8 MB, free: 9.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.01123, allocations: 252.1 kB / 387 MB, free: 9.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.01132, allocations: 206.2 kB / 387.2 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.0114, allocations: 92 kB / 387.3 MB, free: 8.883 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.01152, allocations: 0.5118 MB / 387.8 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.01162, allocations: 73.19 kB / 387.9 MB, free: 8.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.01177, allocations: 194.7 kB / 388.1 MB, free: 8.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.01205, allocations: 308 kB / 388.4 MB, free: 7.695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01206, allocations: 3.938 kB / 388.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005858/0.01264, allocations: 459.9 kB / 388.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01266, allocations: 9.969 kB / 388.9 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.01267, allocations: 4 kB / 388.9 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.01291, allocations: 123.1 kB / 389 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.01316, allocations: 91.83 kB / 389.1 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.01596, allocations: 6.355 MB / 395.4 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.01605, allocations: 16 kB / 395.5 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.01607, allocations: 16 kB / 395.5 MB, free: 248 kB / 362.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.0001051/0.01618, allocations: 196.5 kB / 395.7 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.01626, allocations: 55.7 kB / 395.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.01629, allocations: 45.8 kB / 395.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.0163, allocations: 8 kB / 395.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.0163, allocations: 4 kB / 395.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01631, allocations: 3.984 kB / 395.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009832/0.01729, allocations: 1.198 MB / 397 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01729, allocations: 0 / 397 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.01751, allocations: 91.89 kB / 397.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/0.01767, allocations: 99.08 kB / 397.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.01769, allocations: 15.98 kB / 397.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.01986, allocations: 5.413 MB / 402.6 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01986, allocations: 4 kB / 402.6 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.02049, allocations: 0.8764 MB / 403.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.02051, allocations: 31.8 kB / 403.5 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.02054, allocations: 12 kB / 403.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.02066, allocations: 16.06 kB / 403.5 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.02073, allocations: 55.78 kB / 403.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.02074, allocations: 16.06 kB / 403.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.02082, allocations: 173.8 kB / 403.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02082, allocations: 0 / 403.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.02123, allocations: 124 kB / 403.9 MB, free: 7.312 MB / 378.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 8.199e-05/0.02131, allocations: 107.2 kB / 404 MB, free: 7.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000699/0.02201, allocations: 0.8477 MB / 404.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.02201, allocations: 4 kB / 404.8 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.02241, allocations: 0.6858 MB / 405.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.0228, allocations: 61.62 kB / 405.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.02398, allocations: 0.9546 MB / 406.5 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.21e-05/0.02406, allocations: 118.4 kB / 406.7 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.02413, allocations: 35.27 kB / 406.7 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.02418, allocations: 32.44 kB / 406.7 MB, free: 4.277 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.02419, allocations: 0 / 406.7 MB, free: 4.277 MB / 378.7 MB Notification: Performance of Templates: time 0.0067/0.03089, allocations: 4.456 MB / 411.2 MB, free: 15.86 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.293032854795456]