Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001895/0.001895, allocations: 114.3 kB / 18.49 MB, free: 4.539 MB / 14.72 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.002281/0.002281, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.243/0.243, allocations: 46.91 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1506, allocations: 65.99 MB / 0.5561 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01378/0.1644, allocations: 10.29 MB / 0.5661 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009455/0.1739, allocations: 3.826 MB / 0.5699 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.1762, allocations: 71.62 kB / 0.5699 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004676/0.1808, allocations: 1.958 MB / 0.5718 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006485/0.1873, allocations: 1.669 MB / 0.5735 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.1899, allocations: 0.6043 MB / 0.5741 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007354/0.1972, allocations: 3.377 MB / 0.5774 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004045/0.2013, allocations: 2.193 MB / 0.5795 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.2044, allocations: 1.254 MB / 0.5807 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003911/0.2083, allocations: 1.814 MB / 0.5825 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.2096, allocations: 252 kB / 0.5827 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.2128, allocations: 1.053 MB / 0.5838 GB, free: 9.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002598/0.2154, allocations: 1.605 MB / 0.5853 GB, free: 7.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.2183, allocations: 1.817 MB / 0.5871 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009265/0.2276, allocations: 5.805 MB / 0.5928 GB, free: 52 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.2276, allocations: 0 / 0.5928 GB, free: 52 kB / 446.1 MB Notification: Performance of FrontEnd: time 3.237e-06/0.2276, allocations: 0 / 0.5928 GB, free: 52 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002133/0.2278, allocations: 4 kB / 0.5928 GB, free: 48 kB / 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.3195/0.5473, allocations: 4.119 MB / 0.5968 GB, free: 33.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.5473, allocations: 10.03 kB / 0.5968 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001956/0.5475, allocations: 88.78 kB / 0.5969 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001747/0.5493, allocations: 0.6023 MB / 0.5975 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007658/0.5569, allocations: 1.809 MB / 0.5992 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005189/0.5621, allocations: 2.162 MB / 0.6014 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.5623, allocations: 197.6 kB / 0.6015 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/0.5636, allocations: 255.1 kB / 0.6018 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.5818, allocations: 8.459 MB / 0.61 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.582, allocations: 41.12 kB / 0.6101 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006539/0.5826, allocations: 126.6 kB / 0.6102 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003285/0.5859, allocations: 1.693 MB / 0.6119 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.6007, allocations: 7.109 MB / 0.6188 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0399/0.6406, allocations: 34.08 MB / 0.6521 GB, free: 6.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008358/0.6489, allocations: 3.185 MB / 0.6552 GB, free: 3.059 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002267/0.6512, allocations: 1.357 MB / 0.6565 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009415/0.6606, allocations: 4.459 MB / 0.6609 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/0.6607, allocations: 51.06 kB / 0.6609 GB, free: 12.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 5.6e-06/0.6607, allocations: 0 / 0.6609 GB, free: 12.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03395/0.6946, allocations: 11.74 MB / 0.6724 GB, free: 1.082 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6948, allocations: 171.9 kB / 0.6726 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005585/0.7003, allocations: 3.73 MB / 0.6762 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002769/0.7006, allocations: 41.7 kB / 0.6762 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/0.7029, allocations: 2.866 MB / 0.679 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007392/0.7037, allocations: 0.5428 MB / 0.6796 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.7052, allocations: 1.084 MB / 0.6806 GB, free: 8.574 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7053, allocations: 305.1 kB / 0.6809 GB, free: 8.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00288/0.7082, allocations: 1.697 MB / 0.6826 GB, free: 6.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006201/0.7144, allocations: 5.119 MB / 0.6876 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009826/0.7242, allocations: 7.42 MB / 0.6948 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/0.7243, allocations: 32 kB / 0.6948 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01428/0.7386, allocations: 6.718 MB / 0.7014 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.7387, allocations: 60 kB / 0.7015 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/0.7389, allocations: 120 kB / 0.7016 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/0.7397, allocations: 324.6 kB / 0.7019 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004566/0.7443, allocations: 1.248 MB / 0.7031 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.7474, allocations: 2.49 MB / 0.7055 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/0.7517, allocations: 299.5 kB / 0.7058 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009414/0.7526, allocations: 332.9 kB / 0.7061 GB, free: 10.85 MB / 0.5137 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.003598/0.7562, allocations: 1.787 MB / 0.7079 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007907/0.757, allocations: 329.8 kB / 0.7082 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005541/0.7626, allocations: 2.367 MB / 0.7105 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/0.7626, allocations: 15.94 kB / 0.7105 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.7626, allocations: 4 kB / 0.7105 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.7627, allocations: 7.984 kB / 0.7105 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.7766, allocations: 5.906 MB / 0.7163 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/0.7767, allocations: 128 / 0.7163 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/0.7776, allocations: 175.8 kB / 0.7165 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002457/0.7801, allocations: 0.7187 MB / 0.7172 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/0.7803, allocations: 31.77 kB / 0.7172 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007101/0.7874, allocations: 4.811 MB / 0.7219 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.7874, allocations: 8 kB / 0.7219 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008283/0.7957, allocations: 4.344 MB / 0.7262 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.7968, allocations: 378.7 kB / 0.7265 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008109/0.7976, allocations: 20 kB / 0.7265 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.7993, allocations: 75.89 kB / 0.7266 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/0.7996, allocations: 68.5 kB / 0.7267 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.7998, allocations: 36.06 kB / 0.7267 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00519/0.8049, allocations: 2.327 MB / 0.729 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8049, allocations: 0 / 0.729 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005074/0.81, allocations: 0.8046 MB / 0.7298 GB, free: 2.387 MB / 0.5294 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.008862/0.8189, allocations: 4.977 MB / 0.7346 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007397/0.8263, allocations: 3.885 MB / 0.7384 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.8263, allocations: 0 / 0.7384 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.8282, allocations: 1.03 MB / 0.7394 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.8313, allocations: 398.7 kB / 0.7398 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06968/0.901, allocations: 37.73 MB / 0.7767 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004786/0.9058, allocations: 2.777 MB / 0.7794 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004464/0.9102, allocations: 1.668 MB / 0.781 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003095/0.9133, allocations: 1.519 MB / 0.7825 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/0.9133, allocations: 0 / 0.7825 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4363/1.35, allocations: 58.03 MB / 0.8391 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.38/24.73, allocations: 11.81 kB / 0.8392 GB, free: 213.6 MB / 0.6387 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.11058348696679]