Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.2 MB / 257.8 MB, free: 8.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2255/0.2255, allocations: 46.9 MB / 361.1 MB, free: 4.613 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 79.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3111, allocations: 65.99 MB / 0.5612 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004549/0.3157, allocations: 2.877 MB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3173, allocations: 0.8101 MB / 0.5648 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.3174, allocations: 11.94 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.3177, allocations: 59.31 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.3179, allocations: 126.9 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.3182, allocations: 123.8 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004768/0.3187, allocations: 450.3 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.319, allocations: 138.1 kB / 0.5657 GB, free: 392 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.3192, allocations: 179.3 kB / 0.5658 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.3195, allocations: 187.1 kB / 0.566 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.3195, allocations: 36.05 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.3196, allocations: 43.94 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.3197, allocations: 83.62 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.32, allocations: 211 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.3205, allocations: 468.6 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3205, allocations: 0 / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3205, allocations: 0 / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3206, allocations: 0 / 0.5668 GB, free: 15.2 MB / 414.1 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.001097/0.3216, allocations: 0.6781 MB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3217, allocations: 12.03 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.322, allocations: 72.61 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.3225, allocations: 307.4 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3225, allocations: 29.38 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.3226, allocations: 40.38 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.3233, allocations: 393.3 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.3233, allocations: 3.953 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.3234, allocations: 16 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.3234, allocations: 8 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.3239, allocations: 247.8 kB / 0.5686 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.3256, allocations: 1.105 MB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.3262, allocations: 327.5 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.3265, allocations: 158.4 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.3266, allocations: 4 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3266, allocations: 46.5 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.693e-06/0.3266, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004091/0.3307, allocations: 2.453 MB / 0.5726 GB, free: 8.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.3308, allocations: 110.8 kB / 0.5727 GB, free: 8.723 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.331, allocations: 246.7 kB / 0.5729 GB, free: 8.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.3311, allocations: 37.7 kB / 0.5729 GB, free: 8.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.3312, allocations: 188.8 kB / 0.5731 GB, free: 8.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.3314, allocations: 214.2 kB / 0.5733 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3316, allocations: 86.19 kB / 0.5734 GB, free: 7.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3317, allocations: 350.7 kB / 0.5737 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.332, allocations: 129.1 kB / 0.5739 GB, free: 7.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.3323, allocations: 231.8 kB / 0.5741 GB, free: 7.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.333, allocations: 401.9 kB / 0.5745 GB, free: 6.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.333, allocations: 0 / 0.5745 GB, free: 6.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001087/0.3341, allocations: 0.5464 MB / 0.575 GB, free: 6.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3341, allocations: 8 kB / 0.575 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3341, allocations: 4 kB / 0.575 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/0.3345, allocations: 130.9 kB / 0.5751 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.3349, allocations: 95.89 kB / 0.5752 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004919/0.3398, allocations: 5.214 MB / 0.5803 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.3401, allocations: 23.97 kB / 0.5803 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.3401, allocations: 16.25 kB / 0.5804 GB, free: 304 kB / 414.1 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.0002109/0.3403, allocations: 169.8 kB / 0.5805 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3404, allocations: 39.77 kB / 0.5805 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.659e-05/0.3405, allocations: 54.16 kB / 0.5806 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3406, allocations: 4 kB / 0.5806 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3406, allocations: 0 / 0.5806 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3407, allocations: 116.7 kB / 0.5807 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.3407, allocations: 12 kB / 0.5807 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.341, allocations: 16 kB / 0.5807 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.3411, allocations: 51.86 kB / 0.5808 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001655/0.3428, allocations: 0.8124 MB / 0.5816 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001225/0.344, allocations: 0.9345 MB / 0.5825 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003084/0.3443, allocations: 170.2 kB / 0.5827 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.3445, allocations: 178 kB / 0.5828 GB, free: 13.7 MB / 430.1 MB Notification: Performance of Backend: time 4.21e-07/0.3445, allocations: 0 / 0.5828 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.3462, allocations: 0.7192 MB / 0.5835 GB, free: 12.94 MB / 430.1 MB Notification: Performance of SimCode: time 0.002043/0.3482, allocations: 1.584 MB / 0.5851 GB, free: 11.3 MB / 430.1 MB Notification: Performance of Templates: time 0.01074/0.359, allocations: 5.216 MB / 0.5902 GB, free: 6.098 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.0242693782784045]