Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001644/0.001644, allocations: 109 kB / 18.49 MB, free: 4.602 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.00197/0.00197, allocations: 216.7 kB / 21.46 MB, free: 1.648 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.552/1.552, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2424/0.2424, allocations: 46.92 MB / 357.7 MB, free: 10.19 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 79.88 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1513, allocations: 66.04 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01406/0.1654, allocations: 10.29 MB / 0.5662 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009986/0.1754, allocations: 3.818 MB / 0.5699 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.1779, allocations: 67.62 kB / 0.57 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005529/0.1834, allocations: 1.962 MB / 0.5719 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.1892, allocations: 1.673 MB / 0.5736 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.1915, allocations: 0.6121 MB / 0.5741 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006631/0.1981, allocations: 3.375 MB / 0.5774 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004212/0.2024, allocations: 2.189 MB / 0.5796 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.2052, allocations: 1.254 MB / 0.5808 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003587/0.2088, allocations: 1.814 MB / 0.5826 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.21, allocations: 256 kB / 0.5828 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.2129, allocations: 1.049 MB / 0.5838 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.2155, allocations: 1.601 MB / 0.5854 GB, free: 7.414 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003952/0.2195, allocations: 1.817 MB / 0.5872 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3042/0.5236, allocations: 5.808 MB / 0.5929 GB, free: 13.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.5236, allocations: 0 / 0.5929 GB, free: 13.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5236, allocations: 0.7188 kB / 0.5929 GB, free: 13.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002807/0.5239, allocations: 0 / 0.5929 GB, free: 13.56 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01173/0.5357, allocations: 4.115 MB / 0.5969 GB, free: 11.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.5357, allocations: 12.41 kB / 0.5969 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002192/0.5359, allocations: 84.09 kB / 0.597 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002112/0.538, allocations: 0.6077 MB / 0.5976 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008072/0.5461, allocations: 1.805 MB / 0.5993 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005296/0.5514, allocations: 2.167 MB / 0.6014 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.5516, allocations: 194.8 kB / 0.6016 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.5529, allocations: 260.5 kB / 0.6019 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.5709, allocations: 8.448 MB / 0.6101 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/0.5711, allocations: 38.48 kB / 0.6102 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008448/0.5719, allocations: 123.5 kB / 0.6103 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003491/0.5754, allocations: 1.698 MB / 0.6119 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.5904, allocations: 7.115 MB / 0.6189 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04844/0.6389, allocations: 34.08 MB / 0.6522 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008563/0.6474, allocations: 3.181 MB / 0.6553 GB, free: 7.188 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002355/0.6498, allocations: 1.362 MB / 0.6566 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009281/0.6591, allocations: 4.46 MB / 0.661 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.6591, allocations: 47.12 kB / 0.661 GB, free: 1.109 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 5.45e-06/0.6591, allocations: 3.75 kB / 0.661 GB, free: 1.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03532/0.6944, allocations: 11.74 MB / 0.6725 GB, free: 5.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.6946, allocations: 172.4 kB / 0.6726 GB, free: 5.082 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007559/0.7021, allocations: 3.728 MB / 0.6763 GB, free: 1.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003918/0.7025, allocations: 43.97 kB / 0.6763 GB, free: 1.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003287/0.7058, allocations: 2.859 MB / 0.6791 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.7069, allocations: 0.5455 MB / 0.6796 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002324/0.7092, allocations: 1.085 MB / 0.6807 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7093, allocations: 305.1 kB / 0.681 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/0.7126, allocations: 1.702 MB / 0.6827 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006695/0.7193, allocations: 5.12 MB / 0.6877 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.7296, allocations: 7.409 MB / 0.6949 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/0.7297, allocations: 36 kB / 0.6949 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01297/0.7427, allocations: 6.727 MB / 0.7015 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/0.7428, allocations: 61.97 kB / 0.7016 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/0.7429, allocations: 124.1 kB / 0.7017 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007318/0.7436, allocations: 320.7 kB / 0.702 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004227/0.7479, allocations: 1.24 MB / 0.7032 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.751, allocations: 2.509 MB / 0.7056 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/0.7554, allocations: 294.3 kB / 0.7059 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009538/0.7564, allocations: 328 kB / 0.7062 GB, free: 15.81 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003826/0.7602, allocations: 1.787 MB / 0.708 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007744/0.761, allocations: 329.8 kB / 0.7083 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005668/0.7666, allocations: 2.359 MB / 0.7106 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.957e-05/0.7667, allocations: 20 kB / 0.7106 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.7667, allocations: 4 kB / 0.7106 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.7667, allocations: 3.984 kB / 0.7106 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.7822, allocations: 5.9 MB / 0.7164 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.7822, allocations: 4 kB / 0.7164 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.7833, allocations: 179.6 kB / 0.7166 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/0.7857, allocations: 0.7147 MB / 0.7173 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/0.786, allocations: 22.66 kB / 0.7173 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007362/0.7933, allocations: 4.817 MB / 0.722 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7933, allocations: 0 / 0.722 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008782/0.8021, allocations: 4.346 MB / 0.7262 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.8033, allocations: 388.6 kB / 0.7266 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/0.8045, allocations: 19.98 kB / 0.7266 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/0.8066, allocations: 74.5 kB / 0.7267 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/0.807, allocations: 68.5 kB / 0.7268 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/0.8073, allocations: 36 kB / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00519/0.8124, allocations: 2.323 MB / 0.7291 GB, free: 8.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8124, allocations: 4.062 kB / 0.7291 GB, free: 8.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005364/0.8178, allocations: 0.7968 MB / 0.7298 GB, free: 7.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009902/0.8277, allocations: 4.981 MB / 0.7347 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007982/0.8357, allocations: 3.89 MB / 0.7385 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8357, allocations: 0 / 0.7385 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.8379, allocations: 1.039 MB / 0.7395 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/0.8422, allocations: 391.1 kB / 0.7399 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07277/0.9149, allocations: 37.73 MB / 0.7767 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005735/0.9207, allocations: 2.787 MB / 0.7795 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005051/0.9257, allocations: 1.66 MB / 0.7811 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003711/0.9294, allocations: 1.522 MB / 0.7826 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.693e-06/0.9294, allocations: 0 / 0.7826 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/1.075, allocations: 58.03 MB / 0.8392 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.01/25.08, allocations: 7.969 kB / 0.8392 GB, free: 2.52 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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: 29.533517129020765]