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.001307/0.001307, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001482/0.001482, allocations: 210.9 kB / 24.52 MB, free: 3.941 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.484/1.484, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2285/0.2285, allocations: 46.95 MB / 361.6 MB, free: 3.949 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.002284/0.002284, allocations: 83.86 kB / 0.4969 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2983, allocations: 66.09 MB / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01149/0.3098, allocations: 8.971 MB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007405/0.3172, allocations: 3.598 MB / 0.5737 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.3184, allocations: 67.69 kB / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003945/0.3224, allocations: 1.892 MB / 0.5756 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.3268, allocations: 1.681 MB / 0.5773 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.3285, allocations: 0.6121 MB / 0.5779 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005558/0.3341, allocations: 3.372 MB / 0.5812 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003204/0.3373, allocations: 2.122 MB / 0.5832 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.3397, allocations: 1.257 MB / 0.5845 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.3427, allocations: 1.814 MB / 0.5862 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008901/0.3436, allocations: 256 kB / 0.5865 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.3462, allocations: 0.9361 MB / 0.5874 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.3482, allocations: 1.597 MB / 0.589 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.3502, allocations: 1.328 MB / 0.5903 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007693/0.3579, allocations: 5.847 MB / 0.596 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3579, allocations: 0 / 0.596 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3579, allocations: 0 / 0.596 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001803/0.3581, allocations: 0 / 0.596 GB, free: 0.5156 MB / 430.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.009402/0.3675, allocations: 4.038 MB / 0.5999 GB, free: 12.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3676, allocations: 12.03 kB / 0.5999 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001193/0.3677, allocations: 85.16 kB / 0.6 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/0.3688, allocations: 0.6121 MB / 0.6006 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006579/0.3754, allocations: 1.8 MB / 0.6024 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004772/0.3802, allocations: 2.11 MB / 0.6044 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.3804, allocations: 196.8 kB / 0.6046 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000778/0.3811, allocations: 251.8 kB / 0.6048 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.3968, allocations: 8.509 MB / 0.6132 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.3969, allocations: 35.69 kB / 0.6132 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004806/0.3974, allocations: 131.9 kB / 0.6133 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003166/0.4005, allocations: 1.695 MB / 0.615 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.4161, allocations: 7.102 MB / 0.6219 GB, free: 5.133 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04469/0.4608, allocations: 32.8 MB / 0.6539 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007253/0.4681, allocations: 2.727 MB / 0.6566 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.4701, allocations: 1.357 MB / 0.6579 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006204/0.4763, allocations: 3.364 MB / 0.6612 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.4763, allocations: 55.09 kB / 0.6613 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.957e-06/0.4763, allocations: 0 / 0.6613 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03025/0.5066, allocations: 11.57 MB / 0.6726 GB, free: 84 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.5067, allocations: 166.9 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005634/0.5123, allocations: 3.738 MB / 0.6764 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.5125, allocations: 45.69 kB / 0.6764 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/0.515, allocations: 2.862 MB / 0.6792 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006513/0.5156, allocations: 0.5351 MB / 0.6797 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.5171, allocations: 1.088 MB / 0.6808 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5173, allocations: 305.1 kB / 0.6811 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/0.52, allocations: 1.701 MB / 0.6827 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005918/0.526, allocations: 5.148 MB / 0.6878 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009984/0.5359, allocations: 7.409 MB / 0.695 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/0.5361, allocations: 32 kB / 0.695 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01444/0.5505, allocations: 6.726 MB / 0.7016 GB, free: 14.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.5506, allocations: 56 kB / 0.7017 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002392/0.5509, allocations: 123.9 kB / 0.7018 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/0.5517, allocations: 320.7 kB / 0.7021 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004555/0.5562, allocations: 1.24 MB / 0.7033 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.5597, allocations: 2.386 MB / 0.7056 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004924/0.5646, allocations: 291.6 kB / 0.7059 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009973/0.5656, allocations: 340 kB / 0.7062 GB, free: 9.953 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.003776/0.5694, allocations: 1.783 MB / 0.708 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007463/0.5701, allocations: 325.8 kB / 0.7083 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/0.5753, allocations: 2.367 MB / 0.7106 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/0.5754, allocations: 16 kB / 0.7106 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5754, allocations: 0 / 0.7106 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/0.5754, allocations: 11.97 kB / 0.7106 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.5882, allocations: 5.637 MB / 0.7161 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.5882, allocations: 4 kB / 0.7161 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009355/0.5891, allocations: 175.7 kB / 0.7163 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002372/0.5915, allocations: 0.7147 MB / 0.717 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.5917, allocations: 20 kB / 0.717 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006966/0.5986, allocations: 4.671 MB / 0.7216 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.5986, allocations: 8.203 kB / 0.7216 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008745/0.6074, allocations: 4.354 MB / 0.7258 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.6085, allocations: 301.6 kB / 0.7261 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006806/0.6092, allocations: 23.94 kB / 0.7261 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.6105, allocations: 71.91 kB / 0.7262 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.6107, allocations: 76.52 kB / 0.7263 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6108, allocations: 32 kB / 0.7263 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003739/0.6145, allocations: 2.327 MB / 0.7286 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6145, allocations: 0 / 0.7286 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004146/0.6187, allocations: 0.7968 MB / 0.7294 GB, free: 2.027 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.2553/0.874, allocations: 4.976 MB / 0.7342 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00511/0.8791, allocations: 3.886 MB / 0.738 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8791, allocations: 0 / 0.738 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.8802, allocations: 1.039 MB / 0.739 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.8823, allocations: 381.7 kB / 0.7394 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03887/0.9212, allocations: 37.8 MB / 0.7763 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002401/0.9236, allocations: 2.233 MB / 0.7785 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003097/0.9267, allocations: 1.656 MB / 0.7801 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/0.9285, allocations: 1.526 MB / 0.7816 GB, free: 110 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.9285, allocations: 0 / 0.7816 GB, free: 110 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08986/1.018, allocations: 60.07 MB / 0.8403 GB, free: 50.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.68/25.7, allocations: 8 kB / 0.8403 GB, free: 50.61 MB / 0.5606 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/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.754910476971418]