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.001453/0.001453, allocations: 103.6 kB / 21.18 MB, free: 0.5234 MB / 14.72 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.0015/0.0015, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2315/0.2315, allocations: 44.94 MB / 359.6 MB, free: 6.066 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 71.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3956, allocations: 65.47 MB / 0.5582 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004383/0.4, allocations: 2.653 MB / 0.5608 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.4016, allocations: 0.7673 MB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.4017, allocations: 11.94 kB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.402, allocations: 63.33 kB / 0.5616 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.4022, allocations: 126.9 kB / 0.5617 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.4026, allocations: 123.8 kB / 0.5618 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.403, allocations: 446.3 kB / 0.5623 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.4033, allocations: 134.8 kB / 0.5624 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.4036, allocations: 183.3 kB / 0.5626 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.4039, allocations: 167.2 kB / 0.5627 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.4039, allocations: 36 kB / 0.5628 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.404, allocations: 39.94 kB / 0.5628 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.4041, allocations: 79.75 kB / 0.5629 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.4043, allocations: 175.1 kB / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.4048, allocations: 464.4 kB / 0.5635 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4048, allocations: 0 / 0.5635 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4048, allocations: 0 / 0.5635 GB, free: 2.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4048, allocations: 0 / 0.5635 GB, free: 2.004 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001049/0.4059, allocations: 0.6105 MB / 0.5641 GB, free: 1.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4059, allocations: 12.03 kB / 0.5641 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/0.4063, allocations: 68.62 kB / 0.5642 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.4067, allocations: 246.6 kB / 0.5644 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.4067, allocations: 33.31 kB / 0.5644 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.4068, allocations: 40.38 kB / 0.5645 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.4075, allocations: 385.3 kB / 0.5648 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.4075, allocations: 7.953 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.4075, allocations: 16 kB / 0.5649 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.4076, allocations: 12 kB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/0.4081, allocations: 235.8 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.4096, allocations: 0.919 MB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.4102, allocations: 323.5 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.4105, allocations: 162.4 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.4105, allocations: 8 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4106, allocations: 42.5 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.305e-06/0.4106, allocations: 3.938 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003909/0.4145, allocations: 2.01 MB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.4146, allocations: 106.8 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4148, allocations: 196.1 kB / 0.5688 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.4148, allocations: 37.7 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.415, allocations: 205.3 kB / 0.569 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.4151, allocations: 198.2 kB / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.4153, allocations: 90.34 kB / 0.5693 GB, free: 11.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4155, allocations: 346.7 kB / 0.5696 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.4157, allocations: 125.2 kB / 0.5697 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.4161, allocations: 228.8 kB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007233/0.4169, allocations: 417.9 kB / 0.5703 GB, free: 10.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4169, allocations: 0 / 0.5703 GB, free: 10.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001106/0.418, allocations: 0.5502 MB / 0.5709 GB, free: 9.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.418, allocations: 4 kB / 0.5709 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.418, allocations: 4 kB / 0.5709 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.4184, allocations: 122.5 kB / 0.571 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.4188, allocations: 95.83 kB / 0.5711 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004678/0.4234, allocations: 4.811 MB / 0.5758 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.4237, allocations: 16.22 kB / 0.5758 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.4237, allocations: 27.94 kB / 0.5758 GB, free: 4.594 MB / 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.000227/0.4239, allocations: 174.2 kB / 0.576 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.424, allocations: 35.77 kB / 0.576 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.93e-05/0.4241, allocations: 45.81 kB / 0.5761 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4241, allocations: 4 kB / 0.5761 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.4242, allocations: 7.984 kB / 0.5761 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4242, allocations: 0 / 0.5761 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.4262, allocations: 1.175 MB / 0.5772 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.4262, allocations: 4 kB / 0.5772 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.4266, allocations: 99.97 kB / 0.5773 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.4269, allocations: 94.52 kB / 0.5774 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.4269, allocations: 12.19 kB / 0.5774 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/0.4306, allocations: 4.041 MB / 0.5814 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4306, allocations: 3.938 kB / 0.5814 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.4322, allocations: 0.9145 MB / 0.5823 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.4322, allocations: 27.81 kB / 0.5823 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.4323, allocations: 20 kB / 0.5823 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.4325, allocations: 15.98 kB / 0.5823 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.4326, allocations: 51.84 kB / 0.5824 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.4326, allocations: 16 kB / 0.5824 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.4328, allocations: 137.9 kB / 0.5825 GB, free: 13.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4328, allocations: 0 / 0.5825 GB, free: 13.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007133/0.4335, allocations: 123.9 kB / 0.5826 GB, free: 13.2 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.0001425/0.4336, allocations: 111.2 kB / 0.5828 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.435, allocations: 0.7672 MB / 0.5835 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.435, allocations: 0 / 0.5835 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000807/0.4358, allocations: 0.5621 MB / 0.5841 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.4364, allocations: 64.38 kB / 0.5841 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.4383, allocations: 1.129 MB / 0.5852 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.4386, allocations: 220.9 kB / 0.5854 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.4387, allocations: 27.44 kB / 0.5855 GB, free: 10.17 MB / 430.1 MB Notification: Performance of SimCode: time 5.1e-07/0.4387, allocations: 0 / 0.5855 GB, free: 10.17 MB / 430.1 MB Notification: Performance of Templates: time 0.01304/0.4518, allocations: 9.528 MB / 0.5948 GB, free: 0.6328 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 9.276225232053548]