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.001698/0.001698, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001953/0.001953, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.693/1.693, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2796/0.2796, allocations: 46.92 MB / 360.8 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 179] 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.002632/0.002632, allocations: 83.88 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3876, allocations: 66.09 MB / 0.5607 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01463/0.4023, allocations: 10.31 MB / 0.5708 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009103/0.4114, allocations: 3.839 MB / 0.5746 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.4132, allocations: 67.62 kB / 0.5746 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004627/0.4178, allocations: 1.989 MB / 0.5766 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.4231, allocations: 1.669 MB / 0.5782 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.4252, allocations: 0.6082 MB / 0.5788 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00646/0.4317, allocations: 3.371 MB / 0.5821 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004062/0.4357, allocations: 2.122 MB / 0.5842 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.4388, allocations: 1.261 MB / 0.5854 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004069/0.4429, allocations: 1.818 MB / 0.5872 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.4441, allocations: 252 kB / 0.5874 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.4471, allocations: 1.045 MB / 0.5884 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002735/0.4499, allocations: 1.609 MB / 0.59 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003903/0.4538, allocations: 1.813 MB / 0.5918 GB, free: 4.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.4644, allocations: 5.809 MB / 0.5974 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.4644, allocations: 4 kB / 0.5974 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4644, allocations: 0 / 0.5974 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002491/0.4647, allocations: 0 / 0.5974 GB, free: 14.48 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.01428/0.4789, allocations: 4.053 MB / 0.6014 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.479, allocations: 16.03 kB / 0.6014 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00191/0.4809, allocations: 0.6004 MB / 0.602 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007154/0.4881, allocations: 1.804 MB / 0.6038 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005666/0.4937, allocations: 2.099 MB / 0.6058 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.4939, allocations: 197 kB / 0.606 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009361/0.4949, allocations: 255.8 kB / 0.6062 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.512, allocations: 8.447 MB / 0.6145 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.5121, allocations: 39.69 kB / 0.6145 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004492/0.5126, allocations: 123.9 kB / 0.6147 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003306/0.5159, allocations: 1.699 MB / 0.6163 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/0.5315, allocations: 7.118 MB / 0.6233 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05218/0.5836, allocations: 33.97 MB / 0.6564 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008201/0.5918, allocations: 2.73 MB / 0.6591 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/0.5943, allocations: 1.353 MB / 0.6604 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008142/0.6024, allocations: 3.696 MB / 0.664 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.6025, allocations: 47.22 kB / 0.6641 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 5.28e-06/0.6025, allocations: 7.938 kB / 0.6641 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03484/0.6373, allocations: 11.52 MB / 0.6753 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.6375, allocations: 174.9 kB / 0.6755 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007387/0.6449, allocations: 3.73 MB / 0.6791 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.6451, allocations: 41.7 kB / 0.6792 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002838/0.648, allocations: 2.866 MB / 0.682 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008822/0.6489, allocations: 0.5429 MB / 0.6825 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002366/0.6512, allocations: 1.08 MB / 0.6836 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6514, allocations: 305.1 kB / 0.6839 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003154/0.6545, allocations: 1.708 MB / 0.6855 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006847/0.6614, allocations: 5.119 MB / 0.6905 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.6717, allocations: 7.409 MB / 0.6978 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/0.6718, allocations: 36 kB / 0.6978 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01415/0.6859, allocations: 6.727 MB / 0.7044 GB, free: 11.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.6861, allocations: 56.19 kB / 0.7044 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001952/0.6863, allocations: 124 kB / 0.7045 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007298/0.687, allocations: 321.3 kB / 0.7048 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004273/0.6913, allocations: 1.244 MB / 0.7061 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.6945, allocations: 2.394 MB / 0.7084 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/0.6984, allocations: 295.7 kB / 0.7087 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009675/0.6994, allocations: 328 kB / 0.709 GB, free: 6.633 MB / 0.545 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.003891/0.7033, allocations: 1.783 MB / 0.7107 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007451/0.7041, allocations: 325.8 kB / 0.711 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005607/0.7097, allocations: 2.363 MB / 0.7133 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-05/0.7097, allocations: 19.98 kB / 0.7134 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.7097, allocations: 4 kB / 0.7134 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.7097, allocations: 12 kB / 0.7134 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.7243, allocations: 5.889 MB / 0.7191 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.7243, allocations: 8.062 kB / 0.7191 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009291/0.7253, allocations: 171.8 kB / 0.7193 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/0.7276, allocations: 0.7069 MB / 0.72 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.7277, allocations: 24 kB / 0.72 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007225/0.735, allocations: 4.714 MB / 0.7246 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.735, allocations: 3.938 kB / 0.7246 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008695/0.7437, allocations: 4.345 MB / 0.7289 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.7447, allocations: 301.7 kB / 0.7292 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008537/0.7456, allocations: 27.91 kB / 0.7292 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.7472, allocations: 79.97 kB / 0.7293 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.7475, allocations: 76.45 kB / 0.7293 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.7477, allocations: 32 kB / 0.7294 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3056/1.053, allocations: 2.32 MB / 0.7316 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.32e-07/1.053, allocations: 0 / 0.7316 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006538/1.06, allocations: 0.7983 MB / 0.7324 GB, free: 152.8 MB / 0.5606 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.008071/1.068, allocations: 4.979 MB / 0.7373 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006152/1.074, allocations: 3.89 MB / 0.7411 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.074, allocations: 3.969 kB / 0.7411 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.075, allocations: 1.044 MB / 0.7421 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/1.078, allocations: 377.5 kB / 0.7424 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0523/1.13, allocations: 37.79 MB / 0.7794 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002574/1.133, allocations: 2.785 MB / 0.7821 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003275/1.136, allocations: 1.66 MB / 0.7837 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/1.139, allocations: 1.519 MB / 0.7852 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.164e-06/1.139, allocations: 0 / 0.7852 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/1.246, allocations: 62.33 MB / 0.846 GB, free: 44.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.51/26.76, allocations: 4 kB / 0.8461 GB, free: 44.26 MB / 0.5606 GB " [Timeout remaining time 633] (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: 30.661953798960894]