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.001705/0.001705, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001567/0.001567, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.5 MB / 258.1 MB, free: 7.754 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.2244/0.2244, allocations: 46.95 MB / 361.6 MB, free: 3.887 MB / 286.1 MB " [Timeout remaining time 180] 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.002428/0.002428, allocations: 79.88 kB / 0.4974 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3158, allocations: 66.09 MB / 0.5619 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003041/0.3188, allocations: 1.613 MB / 0.5635 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.3191, allocations: 111.6 kB / 0.5636 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.3192, allocations: 4 kB / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.165e-05/0.3192, allocations: 11.86 kB / 0.5636 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3193, allocations: 35.64 kB / 0.5636 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.3194, allocations: 27.97 kB / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.3196, allocations: 135.4 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3197, allocations: 21.25 kB / 0.5638 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.3198, allocations: 51.84 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.3199, allocations: 47.77 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3199, allocations: 8 kB / 0.5639 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.507e-05/0.3199, allocations: 12 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.32, allocations: 19.94 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.32, allocations: 47.8 kB / 0.564 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3202, allocations: 129.9 kB / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3202, allocations: 0 / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3202, allocations: 0 / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3202, allocations: 0 / 0.5641 GB, free: 1.664 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.0004893/0.3207, allocations: 330.1 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3207, allocations: 16.03 kB / 0.5644 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3208, allocations: 8.891 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.321, allocations: 142.3 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.321, allocations: 12.55 kB / 0.5646 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.321, allocations: 12.38 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.3212, allocations: 125.6 kB / 0.5647 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.3212, allocations: 12.12 kB / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3213, allocations: 7.938 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3213, allocations: 4 kB / 0.5647 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3214, allocations: 59.89 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.3221, allocations: 436.3 kB / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3222, allocations: 85.16 kB / 0.5653 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.3222, allocations: 21.72 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3223, allocations: 3.938 kB / 0.5653 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3223, allocations: 46.58 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.3223, allocations: 0 / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005214/0.3228, allocations: 143.2 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.3229, allocations: 85.11 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.323, allocations: 125.7 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.323, allocations: 25.7 kB / 0.5657 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.3231, allocations: 123.8 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.3231, allocations: 35.72 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.3232, allocations: 29.72 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3234, allocations: 322.8 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.3234, allocations: 24 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3235, allocations: 88.56 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3236, allocations: 116.5 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3236, allocations: 3.938 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002922/0.3239, allocations: 171.6 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.324, allocations: 4 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.324, allocations: 4 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.3241, allocations: 37.73 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.3242, allocations: 31.91 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.3263, allocations: 2.481 MB / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.3264, allocations: 15.86 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.3264, allocations: 12 kB / 0.5691 GB, free: 12.03 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.0001171/0.3265, allocations: 117.8 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.3265, allocations: 12.17 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.3266, allocations: 19.98 kB / 0.5693 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3266, allocations: 0 / 0.5693 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3266, allocations: 4 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3266, allocations: 3.938 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.3268, allocations: 133.2 kB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3268, allocations: 0 / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-05/0.3269, allocations: 15.98 kB / 0.5694 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.594e-05/0.327, allocations: 29.72 kB / 0.5695 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.327, allocations: 7.984 kB / 0.5695 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.3289, allocations: 2.478 MB / 0.5719 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3289, allocations: 0 / 0.5719 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.3292, allocations: 320.2 kB / 0.5722 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.3292, allocations: 8.312 kB / 0.5722 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3293, allocations: 4 kB / 0.5722 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.279e-05/0.3293, allocations: 3.938 kB / 0.5722 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.3294, allocations: 8.031 kB / 0.5722 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3294, allocations: 7.938 kB / 0.5722 GB, free: 8.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.3294, allocations: 95.27 kB / 0.5723 GB, free: 8.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3294, allocations: 0 / 0.5723 GB, free: 8.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.3298, allocations: 39.89 kB / 0.5723 GB, free: 8.461 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.0001063/0.3299, allocations: 99.19 kB / 0.5724 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004648/0.3304, allocations: 301.6 kB / 0.5727 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3304, allocations: 0 / 0.5727 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.3306, allocations: 261.2 kB / 0.573 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.3311, allocations: 28.48 kB / 0.573 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/0.3319, allocations: 499.8 kB / 0.5735 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.662e-05/0.332, allocations: 89.62 kB / 0.5736 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.332, allocations: 15.44 kB / 0.5736 GB, free: 7.082 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.332, allocations: 0 / 0.5736 GB, free: 7.082 MB / 414.1 MB Notification: Performance of Templates: time 0.004587/0.3366, allocations: 2.5 MB / 0.576 GB, free: 4.582 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/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: 8.282601959072053]