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.0009669/0.0009669, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.0009447/0.0009447, allocations: 156.5 kB / 24.55 MB, free: 12 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 0.9802/0.9802, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2621/0.2621, allocations: 34.86 MB / 296.3 MB, free: 480 kB / 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.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 1.814e-06/1.814e-06, allocations: 0 / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.153e-05, allocations: 4.844 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003098/0.003129, allocations: 2.875 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.004396, allocations: 0.7943 MB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.004574, allocations: 15.94 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.004771, allocations: 59.39 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.00497, allocations: 134.7 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.005289, allocations: 119.7 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.005652, allocations: 474.1 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.005855, allocations: 130.8 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.00616, allocations: 255.5 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.006326, allocations: 143.5 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.006367, allocations: 36 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.488e-05/0.006442, allocations: 47.97 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.006488, allocations: 83.67 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.006586, allocations: 139.7 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.006908, allocations: 302.8 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006912, allocations: 0 / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.006913, allocations: 0 / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.006921, allocations: 4 kB / 384.3 MB, free: 12.46 MB / 362.7 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.0007676/0.007688, allocations: 0.7064 MB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.007735, allocations: 12.03 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.007976, allocations: 96.64 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.008259, allocations: 244 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.00828, allocations: 29.38 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.008326, allocations: 40.38 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.008708, allocations: 330.7 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.008726, allocations: 8.141 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.00875, allocations: 16.38 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.008761, allocations: 11.94 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.008958, allocations: 127.8 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009761/0.009934, allocations: 1.041 MB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.01023, allocations: 273.5 kB / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.01037, allocations: 123.2 kB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.01039, allocations: 4 kB / 387.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.01042, allocations: 41.39 kB / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.242e-06/0.01042, allocations: 0 / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001955/0.01237, allocations: 1.773 MB / 389.2 MB, free: 7.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.01243, allocations: 110.8 kB / 389.3 MB, free: 7.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.01258, allocations: 254.7 kB / 389.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01261, allocations: 37.7 kB / 389.6 MB, free: 6.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.01271, allocations: 240.1 kB / 389.8 MB, free: 6.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.01281, allocations: 206.2 kB / 390 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.01291, allocations: 88 kB / 390.1 MB, free: 6.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.01305, allocations: 0.5157 MB / 390.6 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.01315, allocations: 65.27 kB / 390.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.01332, allocations: 202.7 kB / 390.9 MB, free: 5.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.01362, allocations: 308 kB / 391.2 MB, free: 5.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01362, allocations: 3.938 kB / 391.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005083/0.01413, allocations: 451.8 kB / 391.6 MB, free: 4.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.01415, allocations: 11.94 kB / 391.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01416, allocations: 0 / 391.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.01441, allocations: 127.3 kB / 391.7 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.01463, allocations: 95.83 kB / 391.8 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.01745, allocations: 6.347 MB / 398.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.01756, allocations: 16 kB / 398.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.01758, allocations: 28.08 kB / 398.2 MB, free: 13.62 MB / 378.7 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.0001531/0.01773, allocations: 192.4 kB / 398.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.01781, allocations: 55.7 kB / 398.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.01786, allocations: 45.8 kB / 398.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01786, allocations: 4 kB / 398.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.01788, allocations: 4 kB / 398.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.01789, allocations: 4 kB / 398.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.01897, allocations: 1.199 MB / 399.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.01898, allocations: 4 kB / 399.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.01918, allocations: 91.89 kB / 399.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/0.01934, allocations: 95.08 kB / 399.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.01936, allocations: 12 kB / 399.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.02155, allocations: 5.425 MB / 405.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.02155, allocations: 7.875 kB / 405.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.02228, allocations: 0.8725 MB / 406.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.0223, allocations: 35.81 kB / 406.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.02232, allocations: 12 kB / 406.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.02244, allocations: 12 kB / 406.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.02253, allocations: 51.84 kB / 406.3 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.02255, allocations: 16 kB / 406.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.02264, allocations: 173.8 kB / 406.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02264, allocations: 0 / 406.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004175/0.02306, allocations: 120 kB / 406.6 MB, free: 4.703 MB / 378.7 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.0001117/0.02317, allocations: 115.2 kB / 406.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007198/0.02389, allocations: 0.834 MB / 407.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02389, allocations: 0 / 407.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.02429, allocations: 0.692 MB / 408.3 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.0247, allocations: 69.06 kB / 408.4 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.02595, allocations: 0.9537 MB / 409.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.702e-05/0.02605, allocations: 118.4 kB / 409.4 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.875e-05/0.02613, allocations: 39.27 kB / 409.5 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.02619, allocations: 24.5 kB / 409.5 MB, free: 1.676 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02619, allocations: 7.938 kB / 409.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of Templates: time 0.007493/0.03368, allocations: 4.62 MB / 414.1 MB, free: 13.09 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.15746249910444]