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.006475/0.006475, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.001736/0.001736, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.496/1.496, allocations: 230.5 MB / 258.9 MB, free: 7.996 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.2241/0.2241, allocations: 46.94 MB / 362.3 MB, free: 4.191 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.002356/0.002356, allocations: 79.86 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3181, allocations: 66.09 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002803/0.3209, allocations: 1.681 MB / 0.5644 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.3212, allocations: 111.6 kB / 0.5645 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.3212, allocations: 0 / 0.5645 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.522e-05/0.3213, allocations: 19.8 kB / 0.5645 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3214, allocations: 39.64 kB / 0.5645 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.3215, allocations: 27.97 kB / 0.5646 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.3217, allocations: 131.4 kB / 0.5647 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3218, allocations: 29.23 kB / 0.5647 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.3219, allocations: 47.86 kB / 0.5647 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.3219, allocations: 51.77 kB / 0.5648 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.322, allocations: 8 kB / 0.5648 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.14e-05/0.322, allocations: 12 kB / 0.5648 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.322, allocations: 15.94 kB / 0.5648 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.3221, allocations: 63.73 kB / 0.5649 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3223, allocations: 129.8 kB / 0.565 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3223, allocations: 0 / 0.565 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3223, allocations: 0 / 0.565 GB, free: 1.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3223, allocations: 4 kB / 0.565 GB, free: 1.895 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.000471/0.3227, allocations: 330.2 kB / 0.5653 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.3228, allocations: 8.031 kB / 0.5653 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.3228, allocations: 12.89 kB / 0.5654 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.323, allocations: 142.3 kB / 0.5655 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.323, allocations: 8.609 kB / 0.5655 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.323, allocations: 16.38 kB / 0.5655 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.3233, allocations: 121.6 kB / 0.5656 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3233, allocations: 8.141 kB / 0.5656 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3233, allocations: 7.938 kB / 0.5656 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.3233, allocations: 7.984 kB / 0.5657 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3234, allocations: 63.89 kB / 0.5657 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.3242, allocations: 487.6 kB / 0.5662 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.3243, allocations: 85.16 kB / 0.5663 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.3244, allocations: 25.72 kB / 0.5663 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3244, allocations: 7.938 kB / 0.5663 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3244, allocations: 34.59 kB / 0.5663 GB, free: 416 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3244, allocations: 0 / 0.5663 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005354/0.325, allocations: 151.2 kB / 0.5665 GB, free: 252 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.325, allocations: 77.11 kB / 0.5665 GB, free: 156 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3251, allocations: 125.8 kB / 0.5667 GB, free: 20 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3252, allocations: 25.7 kB / 0.5667 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.3253, allocations: 123.8 kB / 0.5668 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.3253, allocations: 27.75 kB / 0.5668 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.3253, allocations: 33.7 kB / 0.5669 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3255, allocations: 322.8 kB / 0.5672 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.3256, allocations: 20 kB / 0.5672 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3257, allocations: 92.52 kB / 0.5673 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.3258, allocations: 124.4 kB / 0.5674 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3258, allocations: 0 / 0.5674 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002957/0.3261, allocations: 171.6 kB / 0.5676 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3261, allocations: 4 kB / 0.5676 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3261, allocations: 4 kB / 0.5676 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/0.3263, allocations: 37.64 kB / 0.5676 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3264, allocations: 31.92 kB / 0.5676 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.3286, allocations: 2.531 MB / 0.5701 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.3287, allocations: 20.05 kB / 0.5701 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3287, allocations: 4 kB / 0.5701 GB, free: 12.14 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.0001195/0.3289, allocations: 125.8 kB / 0.5703 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.3289, allocations: 4 kB / 0.5703 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.3289, allocations: 15.92 kB / 0.5703 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3289, allocations: 4 kB / 0.5703 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3289, allocations: 0 / 0.5703 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3289, allocations: 4 kB / 0.5703 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.3292, allocations: 172.6 kB / 0.5704 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3292, allocations: 7.922 kB / 0.5705 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.3293, allocations: 16 kB / 0.5705 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.3294, allocations: 37.64 kB / 0.5705 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3294, allocations: 3.938 kB / 0.5705 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.3315, allocations: 2.52 MB / 0.573 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3315, allocations: 4.031 kB / 0.573 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.3319, allocations: 308.5 kB / 0.5733 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.3319, allocations: 11.95 kB / 0.5733 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3319, allocations: 0 / 0.5733 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.332, allocations: 0 / 0.5733 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.332, allocations: 15.92 kB / 0.5733 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.332, allocations: 4 kB / 0.5733 GB, free: 8.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.972e-05/0.3321, allocations: 95.27 kB / 0.5734 GB, free: 8.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3321, allocations: 0 / 0.5734 GB, free: 8.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000343/0.3324, allocations: 39.89 kB / 0.5734 GB, free: 8.449 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.0001093/0.3325, allocations: 91.25 kB / 0.5735 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000492/0.333, allocations: 313.8 kB / 0.5738 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.333, allocations: 0 / 0.5738 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.3333, allocations: 253.6 kB / 0.5741 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.3337, allocations: 36.16 kB / 0.5741 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.3346, allocations: 498.8 kB / 0.5746 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3349, allocations: 0.7084 MB / 0.5753 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.3349, allocations: 11.44 kB / 0.5753 GB, free: 6.441 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3349, allocations: 4 kB / 0.5753 GB, free: 6.438 MB / 414.1 MB Notification: Performance of Templates: time 0.004537/0.3395, allocations: 2.452 MB / 0.5777 GB, free: 3.984 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/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_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: 8.266669621923938]