Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.00183/0.00183, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002188/0.002188, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.511/1.511, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.229/0.229, allocations: 46.95 MB / 361.5 MB, free: 3.938 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003314/0.003314, allocations: 75.88 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3206, allocations: 66.09 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004453/0.325, allocations: 2.643 MB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3267, allocations: 0.7712 MB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.3269, allocations: 11.94 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.3271, allocations: 67.31 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.3273, allocations: 126.9 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.3277, allocations: 123.8 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.3282, allocations: 446.3 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.3285, allocations: 130.8 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.3288, allocations: 183.3 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.329, allocations: 163.2 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.3291, allocations: 36 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.3292, allocations: 36 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.3293, allocations: 87.67 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3294, allocations: 179.1 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.33, allocations: 460.4 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.33, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.33, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.33, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.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.001051/0.331, allocations: 0.6066 MB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3311, allocations: 12.03 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.3314, allocations: 72.62 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.3319, allocations: 249.6 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.3319, allocations: 25.38 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.332, allocations: 40.38 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.3326, allocations: 389.3 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.3327, allocations: 7.953 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.3327, allocations: 16 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3327, allocations: 12 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.3332, allocations: 239.8 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.3347, allocations: 0.919 MB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.3353, allocations: 327.5 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.3356, allocations: 154.5 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.3356, allocations: 7.938 kB / 0.5702 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.3357, allocations: 38.56 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.3357, allocations: 0 / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003724/0.3394, allocations: 2.014 MB / 0.5722 GB, free: 9.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.3395, allocations: 114.7 kB / 0.5723 GB, free: 8.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3397, allocations: 198.2 kB / 0.5725 GB, free: 8.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3397, allocations: 29.7 kB / 0.5725 GB, free: 8.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3398, allocations: 201.4 kB / 0.5727 GB, free: 8.535 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.34, allocations: 202.2 kB / 0.5729 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3401, allocations: 94.28 kB / 0.573 GB, free: 8.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3403, allocations: 346.8 kB / 0.5733 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.3406, allocations: 137.2 kB / 0.5734 GB, free: 7.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.3409, allocations: 224.8 kB / 0.5737 GB, free: 7.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.3416, allocations: 398 kB / 0.574 GB, free: 7.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3416, allocations: 7.938 kB / 0.574 GB, free: 7.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001027/0.3426, allocations: 0.5464 MB / 0.5746 GB, free: 6.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3426, allocations: 7.984 kB / 0.5746 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3426, allocations: 8 kB / 0.5746 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.343, allocations: 126.6 kB / 0.5747 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.3433, allocations: 95.81 kB / 0.5748 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004397/0.3477, allocations: 4.803 MB / 0.5795 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.348, allocations: 20.02 kB / 0.5795 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.348, allocations: 20 kB / 0.5795 GB, free: 1.117 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.0002204/0.3482, allocations: 173.8 kB / 0.5797 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.3483, allocations: 39.7 kB / 0.5797 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-05/0.3484, allocations: 49.8 kB / 0.5798 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3484, allocations: 4 kB / 0.5798 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.3484, allocations: 4 kB / 0.5798 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3484, allocations: 3.984 kB / 0.5798 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.3504, allocations: 1.177 MB / 0.5809 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3504, allocations: 4 kB / 0.5809 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.3508, allocations: 95.83 kB / 0.581 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.3511, allocations: 94.52 kB / 0.5811 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.3512, allocations: 20.08 kB / 0.5811 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003437/0.3546, allocations: 4.041 MB / 0.5851 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3546, allocations: 3.938 kB / 0.5851 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3559, allocations: 0.9103 MB / 0.586 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.356, allocations: 27.81 kB / 0.586 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.356, allocations: 16 kB / 0.586 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3563, allocations: 24.05 kB / 0.5861 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.3564, allocations: 39.92 kB / 0.5861 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.3564, allocations: 16 kB / 0.5861 GB, free: 9.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3565, allocations: 148.5 kB / 0.5862 GB, free: 9.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3565, allocations: 0 / 0.5862 GB, free: 9.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006914/0.3572, allocations: 119.9 kB / 0.5864 GB, free: 9.715 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.000142/0.3574, allocations: 107.2 kB / 0.5865 GB, free: 9.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.3586, allocations: 0.7578 MB / 0.5872 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3587, allocations: 0 / 0.5872 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007793/0.3594, allocations: 0.5649 MB / 0.5878 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.3601, allocations: 65.02 kB / 0.5878 GB, free: 8.141 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3619, allocations: 1.126 MB / 0.5889 GB, free: 6.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3622, allocations: 224.8 kB / 0.5891 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.3622, allocations: 31.42 kB / 0.5892 GB, free: 6.688 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3622, allocations: 0 / 0.5892 GB, free: 6.688 MB / 430.1 MB Notification: Performance of Templates: time 0.01224/0.3745, allocations: 9.533 MB / 0.5985 GB, free: 13.15 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.857775203883648]