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.001824/0.001824, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002155/0.002155, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.577/1.577, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2366/0.2366, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.002523/0.002523, allocations: 76.2 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3698, allocations: 65.99 MB / 0.5612 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004863/0.3746, allocations: 2.886 MB / 0.564 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.376, allocations: 0.8062 MB / 0.5648 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3761, allocations: 11.94 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.3763, allocations: 67.31 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.3766, allocations: 122.9 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.3769, allocations: 123.8 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.3774, allocations: 450.3 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.3777, allocations: 138.1 kB / 0.5657 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.378, allocations: 179.3 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.3782, allocations: 195.1 kB / 0.566 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.3783, allocations: 36 kB / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.765e-05/0.3784, allocations: 40 kB / 0.5661 GB, free: 0 / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.3785, allocations: 87.62 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.3787, allocations: 199 kB / 0.5664 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.3792, allocations: 456.9 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3792, allocations: 8 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3792, allocations: 0 / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3792, allocations: 0 / 0.5668 GB, free: 15.27 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.001093/0.3803, allocations: 0.6858 MB / 0.5675 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3803, allocations: 8.031 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.3807, allocations: 80.55 kB / 0.5676 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.3811, allocations: 303.4 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.3811, allocations: 37.31 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.3812, allocations: 40.38 kB / 0.5679 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.382, allocations: 381.3 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.382, allocations: 7.953 kB / 0.5683 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.382, allocations: 12 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3821, allocations: 15.94 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.3826, allocations: 251.8 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.3843, allocations: 1.101 MB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.3849, allocations: 323.5 kB / 0.57 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.3852, allocations: 166.5 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3852, allocations: 4 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3853, allocations: 34.56 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.3853, allocations: 0 / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004227/0.3895, allocations: 2.455 MB / 0.5725 GB, free: 8.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.3896, allocations: 110.8 kB / 0.5727 GB, free: 8.785 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.3898, allocations: 246.7 kB / 0.5729 GB, free: 8.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.3899, allocations: 37.7 kB / 0.5729 GB, free: 8.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.39, allocations: 188.8 kB / 0.5731 GB, free: 8.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.3902, allocations: 210.2 kB / 0.5733 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.3903, allocations: 86.25 kB / 0.5734 GB, free: 8.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3905, allocations: 350.7 kB / 0.5737 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.3908, allocations: 129.1 kB / 0.5738 GB, free: 7.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.3911, allocations: 231.8 kB / 0.5741 GB, free: 7.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.3918, allocations: 402 kB / 0.5744 GB, free: 6.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3918, allocations: 4 kB / 0.5745 GB, free: 6.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001062/0.3928, allocations: 0.55 MB / 0.575 GB, free: 6.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3929, allocations: 8 kB / 0.575 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3929, allocations: 4.094 kB / 0.575 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.3932, allocations: 126.6 kB / 0.5751 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.3936, allocations: 95.89 kB / 0.5752 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005202/0.3988, allocations: 5.214 MB / 0.5803 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.3991, allocations: 24.05 kB / 0.5803 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.3991, allocations: 20 kB / 0.5803 GB, free: 364 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.000237/0.3993, allocations: 165.7 kB / 0.5805 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3995, allocations: 39.75 kB / 0.5805 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.036e-05/0.3995, allocations: 46.19 kB / 0.5806 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3996, allocations: 8 kB / 0.5806 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.3996, allocations: 12.11 kB / 0.5806 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3996, allocations: 4 kB / 0.5806 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.4018, allocations: 1.319 MB / 0.5819 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4018, allocations: 4 kB / 0.5819 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.4022, allocations: 95.88 kB / 0.582 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.4025, allocations: 106.5 kB / 0.5821 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.4025, allocations: 15.94 kB / 0.5821 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/0.4065, allocations: 4.427 MB / 0.5864 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4065, allocations: 0 / 0.5864 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4079, allocations: 0.9233 MB / 0.5873 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.408, allocations: 112.9 kB / 0.5874 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.4081, allocations: 15.98 kB / 0.5875 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4084, allocations: 8 kB / 0.5875 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4085, allocations: 55.81 kB / 0.5875 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.4085, allocations: 16 kB / 0.5875 GB, free: 8.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.4087, allocations: 185.9 kB / 0.5877 GB, free: 8.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4087, allocations: 0 / 0.5877 GB, free: 8.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007014/0.4094, allocations: 120 kB / 0.5878 GB, free: 8.129 MB / 430.1 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.0001462/0.4095, allocations: 111.2 kB / 0.5879 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.4109, allocations: 0.753 MB / 0.5887 GB, free: 7.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4109, allocations: 4 kB / 0.5887 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008771/0.4118, allocations: 0.5583 MB / 0.5892 GB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/0.4125, allocations: 68.7 kB / 0.5893 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.4146, allocations: 1.106 MB / 0.5904 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.4153, allocations: 0.8163 MB / 0.5912 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.4154, allocations: 39.25 kB / 0.5912 GB, free: 4.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.4155, allocations: 31.44 kB / 0.5912 GB, free: 4.492 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4155, allocations: 0 / 0.5912 GB, free: 4.492 MB / 430.1 MB Notification: Performance of Templates: time 0.01167/0.4272, allocations: 4.769 MB / 0.5959 GB, free: 15.73 MB / 446.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 -s cvode -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.516292423941195]