Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008473/0.0008473, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8512/0.8512, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1305/0.1305, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.327e-05, allocations: 9.938 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002933/0.002957, allocations: 2.634 MB / 409.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004069, allocations: 0.7254 MB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.004249, allocations: 11.88 kB / 410.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.004412, allocations: 55.44 kB / 410.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.004596, allocations: 130.8 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.004849, allocations: 83.86 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.005169, allocations: 461.6 kB / 410.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.005467, allocations: 98.14 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.005741, allocations: 255.4 kB / 411.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.005874, allocations: 131.6 kB / 411.4 MB, free: 13.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.005916, allocations: 32 kB / 411.4 MB, free: 13.63 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.202e-05/0.005948, allocations: 35.94 kB / 411.5 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.005996, allocations: 75.73 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.006087, allocations: 135.7 kB / 411.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.00642, allocations: 434.5 kB / 412.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.006422, allocations: 0 / 412.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.006424, allocations: 8 kB / 412.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.006429, allocations: 0 / 412.1 MB, free: 12.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006395/0.007069, allocations: 0.5678 MB / 412.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.007109, allocations: 8.031 kB / 412.7 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.007169, allocations: 74.72 kB / 412.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.007225, allocations: 52.62 kB / 412.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.007501, allocations: 221.9 kB / 413 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.007521, allocations: 29.38 kB / 413 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.007566, allocations: 40.33 kB / 413.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.007971, allocations: 390.7 kB / 413.5 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.00799, allocations: 8.141 kB / 413.5 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.008011, allocations: 16.12 kB / 413.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.008021, allocations: 12 kB / 413.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.00829, allocations: 219.7 kB / 413.7 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.009639, allocations: 1.602 MB / 415.3 MB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.009911, allocations: 250.3 kB / 415.6 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.01, allocations: 94.08 kB / 415.7 MB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.01002, allocations: 7.938 kB / 415.7 MB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.01004, allocations: 38.56 kB / 415.7 MB, free: 9.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.01005, allocations: 0 / 415.7 MB, free: 9.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004298/0.01048, allocations: 273.8 kB / 416 MB, free: 8.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.01054, allocations: 217.5 kB / 416.2 MB, free: 8.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.01072, allocations: 288.4 kB / 416.5 MB, free: 8.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.01073, allocations: 29.7 kB / 416.5 MB, free: 8.199 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.01083, allocations: 243.9 kB / 416.7 MB, free: 7.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.01089, allocations: 123.1 kB / 416.8 MB, free: 7.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.01097, allocations: 98.25 kB / 416.9 MB, free: 7.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.01107, allocations: 346.8 kB / 417.3 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.01119, allocations: 97.27 kB / 417.4 MB, free: 7.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.01145, allocations: 429.1 kB / 417.8 MB, free: 6.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.01187, allocations: 0.5701 MB / 418.4 MB, free: 5.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.01187, allocations: 4 kB / 418.4 MB, free: 5.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005119/0.01239, allocations: 0.5211 MB / 418.9 MB, free: 5.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.0124, allocations: 11.98 kB / 418.9 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.01241, allocations: 16.12 kB / 418.9 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.01243, allocations: 16 kB / 418.9 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.01266, allocations: 143.8 kB / 419.1 MB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.01267, allocations: 23.92 kB / 419.1 MB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.01283, allocations: 67.52 kB / 419.2 MB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.01286, allocations: 32 kB / 419.2 MB, free: 5.141 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.01297, allocations: 185.5 kB / 419.4 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/0.01306, allocations: 32.23 kB / 419.4 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.0131, allocations: 41.84 kB / 419.4 MB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.0131, allocations: 4 kB / 419.5 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.01311, allocations: 4 kB / 419.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01312, allocations: 3.984 kB / 419.5 MB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/0.01386, allocations: 0.6075 MB / 420.1 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01386, allocations: 0 / 420.1 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.0141, allocations: 87.89 kB / 420.2 MB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.0141, allocations: 4 kB / 420.2 MB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.01412, allocations: 11.98 kB / 420.2 MB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01412, allocations: 4.062 kB / 420.2 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.01413, allocations: 11.94 kB / 420.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.01457, allocations: 0.8307 MB / 421 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.0146, allocations: 39.75 kB / 421.1 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.01462, allocations: 11.94 kB / 421.1 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.01482, allocations: 11.98 kB / 421.1 MB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.01487, allocations: 27.84 kB / 421.1 MB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01488, allocations: 15.98 kB / 421.1 MB, free: 3.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.015, allocations: 183.1 kB / 421.3 MB, free: 2.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.015, allocations: 0 / 421.3 MB, free: 2.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004698/0.01547, allocations: 103.8 kB / 421.4 MB, free: 2.844 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006496/0.01612, allocations: 1.379 MB / 422.8 MB, free: 1.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.01645, allocations: 278.2 kB / 423.1 MB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01645, allocations: 4.375 kB / 423.1 MB, free: 1.152 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.01654, allocations: 87.83 kB / 423.1 MB, free: 1.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.01715, allocations: 68.92 kB / 423.2 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.02077, allocations: 4.524 MB / 427.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.02093, allocations: 194.2 kB / 427.9 MB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.02107, allocations: 47.25 kB / 428 MB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.02138, allocations: 116.5 kB / 428.1 MB, free: 11.67 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02138, allocations: 0 / 428.1 MB, free: 11.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.04049, allocations: 7.429 MB / 435.5 MB, free: 4.234 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.583/6.623, allocations: 3.984 kB / 435.5 MB, free: 4.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.608518045395613]