Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001364/0.001364, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001692/0.001692, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.514/1.514, allocations: 230.3 MB / 258 MB, free: 8.23 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.2393/0.2393, allocations: 46.94 MB / 361.4 MB, free: 4.398 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3") [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.002685/0.002685, allocations: 79.86 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3748, allocations: 66.04 MB / 0.5616 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003706/0.3785, allocations: 1.684 MB / 0.5633 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003699/0.3789, allocations: 123.5 kB / 0.5634 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.379, allocations: 0 / 0.5634 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.941e-05/0.379, allocations: 15.86 kB / 0.5634 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.3792, allocations: 35.64 kB / 0.5635 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.3794, allocations: 27.97 kB / 0.5635 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.3796, allocations: 127.4 kB / 0.5636 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.3797, allocations: 25.3 kB / 0.5636 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.012e-05/0.3798, allocations: 51.86 kB / 0.5637 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.3799, allocations: 51.77 kB / 0.5637 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.3799, allocations: 8 kB / 0.5637 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.552e-05/0.38, allocations: 12 kB / 0.5637 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.38, allocations: 19.92 kB / 0.5638 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8e-05/0.3801, allocations: 59.73 kB / 0.5638 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3803, allocations: 126 kB / 0.5639 GB, free: 2.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3803, allocations: 0 / 0.5639 GB, free: 2.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.1e-06/0.3803, allocations: 4 kB / 0.5639 GB, free: 2.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3803, allocations: 0 / 0.5639 GB, free: 2.16 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.000577/0.3809, allocations: 338.1 kB / 0.5643 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3809, allocations: 8.031 kB / 0.5643 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.381, allocations: 12.89 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.3812, allocations: 138.3 kB / 0.5644 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3812, allocations: 8.609 kB / 0.5644 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.3813, allocations: 12.38 kB / 0.5644 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.3815, allocations: 125.6 kB / 0.5646 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.3816, allocations: 12.14 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.3816, allocations: 7.938 kB / 0.5646 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3816, allocations: 4 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3817, allocations: 63.89 kB / 0.5646 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.3826, allocations: 479.7 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.3827, allocations: 89.02 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.3828, allocations: 29.89 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3828, allocations: 3.938 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3828, allocations: 30.56 kB / 0.5652 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3828, allocations: 0 / 0.5652 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005722/0.3834, allocations: 155.2 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3834, allocations: 81.09 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3836, allocations: 129.7 kB / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3836, allocations: 25.7 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.3837, allocations: 119.8 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.3838, allocations: 39.72 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.3838, allocations: 33.7 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.384, allocations: 318.8 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/0.384, allocations: 23.98 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3841, allocations: 84.58 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.3843, allocations: 132.8 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3843, allocations: 0 / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00031/0.3846, allocations: 159.1 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3846, allocations: 7.984 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3846, allocations: 4.25 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.3849, allocations: 45.58 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.385, allocations: 24 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.3873, allocations: 2.531 MB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.3874, allocations: 15.89 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3874, allocations: 4 kB / 0.5691 GB, free: 12.4 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.0001403/0.3875, allocations: 129.9 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.3876, allocations: 4 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.3876, allocations: 16.02 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3876, allocations: 4 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3876, allocations: 0 / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3876, allocations: 3.984 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.3879, allocations: 172.6 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3879, allocations: 0 / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.389e-05/0.388, allocations: 23.92 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.3881, allocations: 37.7 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3881, allocations: 3.938 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.3902, allocations: 2.519 MB / 0.5719 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3902, allocations: 4.031 kB / 0.5719 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.3905, allocations: 300.3 kB / 0.5722 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.3905, allocations: 12.05 kB / 0.5722 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3906, allocations: 8.078 kB / 0.5722 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.3906, allocations: 4.031 kB / 0.5722 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.3907, allocations: 11.98 kB / 0.5722 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3907, allocations: 4 kB / 0.5722 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.501e-05/0.3907, allocations: 91.27 kB / 0.5723 GB, free: 8.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3907, allocations: 0 / 0.5723 GB, free: 8.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.3911, allocations: 39.89 kB / 0.5723 GB, free: 8.711 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.0001234/0.3912, allocations: 99.72 kB / 0.5724 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.3917, allocations: 305.4 kB / 0.5727 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3917, allocations: 0 / 0.5727 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.392, allocations: 265.8 kB / 0.573 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.3925, allocations: 31.42 kB / 0.573 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.3934, allocations: 465.4 kB / 0.5735 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.3939, allocations: 0.7084 MB / 0.5742 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.672e-05/0.3939, allocations: 4.984 kB / 0.5742 GB, free: 6.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.3939, allocations: 15.44 kB / 0.5742 GB, free: 6.723 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3939, allocations: 0 / 0.5742 GB, free: 6.723 MB / 414.1 MB Notification: Performance of Templates: time 0.00488/0.3988, allocations: 1.599 MB / 0.5757 GB, free: 5.133 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.314970277249813]