Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001674/0.001674, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002119/0.002119, allocations: 203.5 kB / 23.72 MB, free: 4.391 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.53/1.53, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2411/0.2411, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003507/0.003507, allocations: 80.09 kB / 0.4966 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3696, allocations: 66.09 MB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003115/0.3727, allocations: 1.617 MB / 0.5627 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.373, allocations: 103.6 kB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.141e-05/0.3731, allocations: 7.938 kB / 0.5628 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.381e-05/0.3731, allocations: 11.86 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.3733, allocations: 43.69 kB / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.3734, allocations: 19.97 kB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.3736, allocations: 135.4 kB / 0.563 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.3738, allocations: 21.3 kB / 0.5631 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3739, allocations: 51.78 kB / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.374, allocations: 47.72 kB / 0.5632 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.374, allocations: 16 kB / 0.5632 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.446e-05/0.374, allocations: 8 kB / 0.5632 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.3741, allocations: 23.92 kB / 0.5632 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.3742, allocations: 47.78 kB / 0.5633 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.3744, allocations: 121.9 kB / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3744, allocations: 0 / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3744, allocations: 0 / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3744, allocations: 0 / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006144/0.375, allocations: 338.1 kB / 0.5637 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.375, allocations: 8.031 kB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.3751, allocations: 16.89 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3753, allocations: 138.3 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3754, allocations: 8.609 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.3754, allocations: 12.38 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.3756, allocations: 133.5 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3757, allocations: 4.141 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.3757, allocations: 7.938 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3757, allocations: 4 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3758, allocations: 55.97 kB / 0.5641 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.3766, allocations: 444.2 kB / 0.5645 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3767, allocations: 77.12 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.3768, allocations: 33.83 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3768, allocations: 4 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.3768, allocations: 34.5 kB / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3768, allocations: 0 / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.3774, allocations: 151.2 kB / 0.5648 GB, free: 136 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.3774, allocations: 77.11 kB / 0.5648 GB, free: 40 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3776, allocations: 133.7 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3776, allocations: 29.64 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.3777, allocations: 123.8 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.3777, allocations: 31.73 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.3778, allocations: 29.66 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3779, allocations: 326.8 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.378, allocations: 23.98 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.3781, allocations: 84.58 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3782, allocations: 124.5 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3782, allocations: 0 / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002766/0.3785, allocations: 163.3 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.3785, allocations: 12.03 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3785, allocations: 0 / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.3787, allocations: 37.7 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.3788, allocations: 31.86 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.381, allocations: 2.478 MB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.381, allocations: 23.86 kB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.381, allocations: 4 kB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.3812, allocations: 125.8 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.3812, allocations: 7.953 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.3813, allocations: 8.156 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3813, allocations: 8 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3813, allocations: 0 / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3813, allocations: 3.938 kB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.3815, allocations: 137.2 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3815, allocations: 0 / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-05/0.3816, allocations: 23.92 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.3817, allocations: 29.7 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3817, allocations: 8 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.3836, allocations: 2.474 MB / 0.5711 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3836, allocations: 0 / 0.5711 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.3839, allocations: 312.3 kB / 0.5714 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.3839, allocations: 4.25 kB / 0.5714 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.3839, allocations: 4.25 kB / 0.5715 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.384, allocations: 11.94 kB / 0.5715 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.384, allocations: 16.02 kB / 0.5715 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.384, allocations: 0 / 0.5715 GB, free: 8.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.3841, allocations: 91.28 kB / 0.5716 GB, free: 8.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3841, allocations: 0 / 0.5716 GB, free: 8.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.3845, allocations: 39.89 kB / 0.5716 GB, free: 8.523 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.3846, allocations: 99.23 kB / 0.5717 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.3851, allocations: 305.2 kB / 0.572 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.3851, allocations: 4 kB / 0.572 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.3853, allocations: 257.2 kB / 0.5722 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.3858, allocations: 24.11 kB / 0.5723 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.3866, allocations: 488.2 kB / 0.5727 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.3868, allocations: 93.61 kB / 0.5728 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.3868, allocations: 8.984 kB / 0.5728 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.3869, allocations: 11.44 kB / 0.5728 GB, free: 7.152 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3869, allocations: 0 / 0.5728 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Templates: time 0.00516/0.392, allocations: 1.753 MB / 0.5745 GB, free: 5.426 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.251504000276327]