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.001616/0.001616, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002019/0.002019, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.241/0.241, allocations: 46.9 MB / 357.4 MB, free: 10.57 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 83.84 kB / 0.4913 GB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1337, allocations: 65.99 MB / 0.5557 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01225/0.1459, allocations: 10.29 MB / 0.5657 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007776/0.1537, allocations: 3.826 MB / 0.5695 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.1554, allocations: 59.81 kB / 0.5695 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.1595, allocations: 1.966 MB / 0.5715 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004501/0.164, allocations: 1.665 MB / 0.5731 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.1657, allocations: 0.6121 MB / 0.5737 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005267/0.1709, allocations: 3.368 MB / 0.577 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00335/0.1743, allocations: 2.201 MB / 0.5791 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.1768, allocations: 1.242 MB / 0.5803 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/0.1799, allocations: 1.81 MB / 0.5821 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009463/0.1809, allocations: 256 kB / 0.5823 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.1834, allocations: 1.049 MB / 0.5834 GB, free: 9.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002251/0.1856, allocations: 1.597 MB / 0.5849 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003237/0.1888, allocations: 1.809 MB / 0.5867 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008791/0.1976, allocations: 5.816 MB / 0.5924 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1976, allocations: 4 kB / 0.5924 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1976, allocations: 0 / 0.5924 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002194/0.1979, allocations: 0 / 0.5924 GB, free: 0.6367 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.2735/0.4714, allocations: 4.113 MB / 0.5964 GB, free: 33.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.4715, allocations: 11.39 kB / 0.5964 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002009/0.4735, allocations: 0.6075 MB / 0.597 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007803/0.4813, allocations: 1.801 MB / 0.5988 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007669/0.4889, allocations: 2.17 MB / 0.6009 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004643/0.4894, allocations: 189.5 kB / 0.6011 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/0.4913, allocations: 256 kB / 0.6013 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.5131, allocations: 8.456 MB / 0.6096 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/0.5133, allocations: 45.36 kB / 0.6096 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009692/0.5142, allocations: 120.1 kB / 0.6097 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003704/0.5179, allocations: 1.697 MB / 0.6114 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.5339, allocations: 7.106 MB / 0.6183 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04513/0.579, allocations: 34.09 MB / 0.6516 GB, free: 7.031 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008062/0.5871, allocations: 3.182 MB / 0.6547 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.5893, allocations: 1.366 MB / 0.656 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009843/0.5991, allocations: 4.453 MB / 0.6604 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.5992, allocations: 43.12 kB / 0.6604 GB, free: 13.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 5.921e-06/0.5992, allocations: 0 / 0.6604 GB, free: 13.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03391/0.6331, allocations: 11.75 MB / 0.6719 GB, free: 1.715 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/0.6333, allocations: 171.4 kB / 0.6721 GB, free: 1.512 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/0.6439, allocations: 3.726 MB / 0.6757 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004905/0.6444, allocations: 41.7 kB / 0.6757 GB, free: 13.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003719/0.6481, allocations: 2.862 MB / 0.6785 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009686/0.6491, allocations: 0.5506 MB / 0.6791 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002062/0.6511, allocations: 1.08 MB / 0.6801 GB, free: 9.211 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6513, allocations: 305 kB / 0.6804 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/0.6544, allocations: 1.705 MB / 0.6821 GB, free: 7.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006822/0.6613, allocations: 5.123 MB / 0.6871 GB, free: 356 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.6715, allocations: 7.417 MB / 0.6943 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/0.6716, allocations: 39.94 kB / 0.6944 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01448/0.6861, allocations: 6.726 MB / 0.7009 GB, free: 460 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.6862, allocations: 56 kB / 0.701 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001819/0.6864, allocations: 124 kB / 0.7011 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007801/0.6872, allocations: 312.7 kB / 0.7014 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004899/0.6921, allocations: 1.244 MB / 0.7026 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.6953, allocations: 2.496 MB / 0.7051 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005222/0.7006, allocations: 295.6 kB / 0.7053 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/0.7018, allocations: 328 kB / 0.7057 GB, free: 11.47 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.004817/0.7066, allocations: 1.791 MB / 0.7074 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009665/0.7076, allocations: 321.8 kB / 0.7077 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005757/0.7133, allocations: 2.366 MB / 0.71 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-05/0.7134, allocations: 23.92 kB / 0.71 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.7134, allocations: 4 kB / 0.7101 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-05/0.7134, allocations: 3.984 kB / 0.7101 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.7299, allocations: 5.906 MB / 0.7158 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.7299, allocations: 0 / 0.7158 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009884/0.7309, allocations: 175.7 kB / 0.716 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/0.7332, allocations: 0.7118 MB / 0.7167 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002465/0.7335, allocations: 24 kB / 0.7167 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007307/0.7408, allocations: 4.817 MB / 0.7214 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/0.7408, allocations: 18.14 kB / 0.7214 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008892/0.7497, allocations: 4.343 MB / 0.7257 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.7512, allocations: 374.8 kB / 0.726 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004514/0.7517, allocations: 23.98 kB / 0.7261 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.7529, allocations: 67.91 kB / 0.7261 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.7531, allocations: 80.5 kB / 0.7262 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7532, allocations: 35.98 kB / 0.7262 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004865/0.7581, allocations: 2.319 MB / 0.7285 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7581, allocations: 0 / 0.7285 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006475/0.7646, allocations: 0.8046 MB / 0.7293 GB, free: 3.012 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.008873/0.7734, allocations: 4.978 MB / 0.7341 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007838/0.7813, allocations: 3.891 MB / 0.7379 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.7813, allocations: 0 / 0.7379 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.7832, allocations: 1.035 MB / 0.7389 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/0.7862, allocations: 392.8 kB / 0.7393 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07013/0.8564, allocations: 37.73 MB / 0.7762 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003629/0.86, allocations: 2.777 MB / 0.7789 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004071/0.8641, allocations: 1.66 MB / 0.7805 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/0.8666, allocations: 1.522 MB / 0.782 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/0.8666, allocations: 0 / 0.782 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4723/1.339, allocations: 57.99 MB / 0.8386 GB, free: 214 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.36/25.7, allocations: 1.266 kB / 0.8386 GB, free: 214 MB / 0.6387 GB " [Timeout remaining time 634] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.379910461138934]