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.002596/0.002596, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002938/0.002938, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.621/1.621, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 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.3452/0.3452, allocations: 34.26 MB / 295.2 MB, free: 0.6484 MB / 266.7 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 1.643e-06/1.643e-06, allocations: 0 / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.379e-05, allocations: 6.25 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003218/0.003252, allocations: 1.668 MB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003063/0.003558, allocations: 111.5 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.00362, allocations: 3.938 kB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.003672, allocations: 15.86 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.003801, allocations: 43.64 kB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.003921, allocations: 27.95 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.004097, allocations: 131.3 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.004232, allocations: 29.16 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.004371, allocations: 79.8 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.004456, allocations: 31.91 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.004482, allocations: 8 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.004506, allocations: 8 kB / 379.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.004535, allocations: 23.91 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.0046, allocations: 47.86 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.004795, allocations: 123.6 kB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.004798, allocations: 4 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004798, allocations: 0 / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004803, allocations: 0 / 379.5 MB, free: 0.582 MB / 346.7 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.0005877/0.005391, allocations: 444 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.005427, allocations: 8.031 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.005491, allocations: 24.84 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.005694, allocations: 132.5 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.005711, allocations: 8.609 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.005743, allocations: 12.38 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.005994, allocations: 147.1 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.006008, allocations: 4.188 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.006026, allocations: 8.375 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.006031, allocations: 384 / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.006157, allocations: 55.91 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.007167, allocations: 0.5645 MB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.007358, allocations: 102 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.007415, allocations: 35.55 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.007431, allocations: 4 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.007463, allocations: 37.39 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.007464, allocations: 4 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005765/0.00804, allocations: 153.2 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.0081, allocations: 81.05 kB / 381.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.008269, allocations: 193.9 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.008291, allocations: 25.7 kB / 381.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.008413, allocations: 170.5 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.00845, allocations: 39.62 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.008512, allocations: 47.36 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.008774, allocations: 0.4884 MB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.008823, allocations: 23.98 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.008963, allocations: 119.4 kB / 382.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.009166, allocations: 160.7 kB / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009168, allocations: 0 / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003191/0.009487, allocations: 184.7 kB / 382.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.009504, allocations: 8 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.009509, allocations: 0 / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.009714, allocations: 51.55 kB / 382.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.009807, allocations: 28 kB / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.01269, allocations: 3.531 MB / 386.4 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.01275, allocations: 8 kB / 386.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01276, allocations: 8 kB / 386.4 MB, free: 9.121 MB / 362.7 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.0001533/0.01291, allocations: 176.4 kB / 386.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.01296, allocations: 11.95 kB / 386.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.01299, allocations: 12 kB / 386.6 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.013, allocations: 7.984 kB / 386.6 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.013, allocations: 0 / 386.6 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01301, allocations: 4.031 kB / 386.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.01329, allocations: 164.5 kB / 386.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01329, allocations: 0 / 386.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.01338, allocations: 12 kB / 386.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.01351, allocations: 47.3 kB / 386.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01352, allocations: 4 kB / 386.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.0164, allocations: 3.523 MB / 390.4 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0164, allocations: 4 kB / 390.4 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.01683, allocations: 406.3 kB / 390.8 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.01684, allocations: 7.891 kB / 390.8 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01686, allocations: 8.188 kB / 390.8 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.01695, allocations: 7.938 kB / 390.8 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.01698, allocations: 7.984 kB / 390.8 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.01699, allocations: 3.938 kB / 390.8 MB, free: 4.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.553e-05/0.01708, allocations: 147.1 kB / 390.9 MB, free: 4.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01708, allocations: 0 / 390.9 MB, free: 4.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.01744, allocations: 35.95 kB / 391 MB, free: 4.223 MB / 362.7 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.00013/0.01757, allocations: 91.25 kB / 391.1 MB, free: 4.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.01818, allocations: 435.3 kB / 391.5 MB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01818, allocations: 0 / 391.5 MB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.01855, allocations: 379.3 kB / 391.9 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.01898, allocations: 23.98 kB / 391.9 MB, free: 3.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007361/0.01972, allocations: 394.3 kB / 392.3 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.01983, allocations: 102 kB / 392.4 MB, free: 2.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.01987, allocations: 8.969 kB / 392.4 MB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.01989, allocations: 12.5 kB / 392.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01989, allocations: 0 / 392.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of Templates: time 0.005436/0.02533, allocations: 1.69 MB / 394.1 MB, free: 0.9961 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_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: 5.007255672011524]