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.001464/0.001464, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001614/0.001614, allocations: 213.8 kB / 23.74 MB, free: 4.656 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.245/0.245, allocations: 46.94 MB / 360.9 MB, free: 4.348 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: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 71.89 kB / 0.4966 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3911, allocations: 66.03 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01491/0.4061, allocations: 10.33 MB / 0.5712 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.4161, allocations: 3.836 MB / 0.575 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.4186, allocations: 63.69 kB / 0.575 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.4234, allocations: 1.985 MB / 0.577 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00526/0.4286, allocations: 1.677 MB / 0.5786 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.4305, allocations: 0.6082 MB / 0.5792 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005873/0.4363, allocations: 3.373 MB / 0.5825 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003566/0.4399, allocations: 2.118 MB / 0.5846 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.4423, allocations: 1.257 MB / 0.5858 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.4454, allocations: 1.814 MB / 0.5876 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007322/0.4462, allocations: 252 kB / 0.5878 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.4486, allocations: 1.053 MB / 0.5888 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.4506, allocations: 1.601 MB / 0.5904 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003189/0.4538, allocations: 1.821 MB / 0.5922 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008323/0.4621, allocations: 5.801 MB / 0.5978 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4621, allocations: 0 / 0.5978 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4621, allocations: 0 / 0.5978 GB, free: 14.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002222/0.4623, allocations: 0 / 0.5978 GB, free: 14.65 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.01008/0.4724, allocations: 4.034 MB / 0.6018 GB, free: 10.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4725, allocations: 8.031 kB / 0.6018 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/0.4793, allocations: 1.808 MB / 0.6035 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/0.4842, allocations: 1.853 MB / 0.6053 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.4844, allocations: 197.2 kB / 0.6055 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008675/0.4853, allocations: 251.8 kB / 0.6058 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.5026, allocations: 8.459 MB / 0.614 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.5028, allocations: 43.58 kB / 0.6141 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006696/0.5035, allocations: 123.9 kB / 0.6142 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003063/0.5065, allocations: 1.695 MB / 0.6159 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.5214, allocations: 7.11 MB / 0.6228 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04835/0.5698, allocations: 33.96 MB / 0.656 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007757/0.5775, allocations: 2.742 MB / 0.6586 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.5797, allocations: 1.355 MB / 0.66 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007297/0.587, allocations: 3.7 MB / 0.6636 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.5871, allocations: 47.16 kB / 0.6636 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.116e-06/0.5871, allocations: 4 kB / 0.6636 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.0319/0.619, allocations: 11.52 MB / 0.6749 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.6191, allocations: 166.9 kB / 0.675 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00844/0.6275, allocations: 3.726 MB / 0.6787 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003116/0.6278, allocations: 41.7 kB / 0.6787 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002859/0.6307, allocations: 2.854 MB / 0.6815 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008825/0.6316, allocations: 0.5507 MB / 0.682 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002177/0.6338, allocations: 1.088 MB / 0.6831 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6339, allocations: 309 kB / 0.6834 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.6373, allocations: 1.705 MB / 0.6851 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005997/0.6433, allocations: 5.143 MB / 0.6901 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009181/0.6525, allocations: 7.433 MB / 0.6973 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.538e-05/0.6526, allocations: 32 kB / 0.6974 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01186/0.6644, allocations: 6.732 MB / 0.7039 GB, free: 12.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.6645, allocations: 63.88 kB / 0.704 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/0.6647, allocations: 124 kB / 0.7041 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006946/0.6654, allocations: 325.3 kB / 0.7044 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/0.6694, allocations: 1.244 MB / 0.7056 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.6725, allocations: 2.393 MB / 0.708 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/0.6762, allocations: 287.7 kB / 0.7083 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008291/0.6771, allocations: 340 kB / 0.7086 GB, free: 7.609 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 (668): * Single equations (assignments): 664 * 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.003734/0.6808, allocations: 1.783 MB / 0.7103 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008803/0.6817, allocations: 321.8 kB / 0.7106 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/0.6871, allocations: 2.37 MB / 0.7129 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-05/0.6871, allocations: 12 kB / 0.713 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.6871, allocations: 4 kB / 0.713 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.6872, allocations: 11.97 kB / 0.713 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.702, allocations: 5.878 MB / 0.7187 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/0.702, allocations: 12 kB / 0.7187 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009274/0.7029, allocations: 179.7 kB / 0.7189 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/0.7052, allocations: 0.7146 MB / 0.7196 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.7054, allocations: 23.98 kB / 0.7196 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007039/0.7124, allocations: 4.707 MB / 0.7242 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7124, allocations: 0 / 0.7242 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008154/0.7206, allocations: 4.353 MB / 0.7285 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.7217, allocations: 301.7 kB / 0.7288 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008186/0.7225, allocations: 20 kB / 0.7288 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.7241, allocations: 79.91 kB / 0.7288 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.7244, allocations: 72.45 kB / 0.7289 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.7245, allocations: 32 kB / 0.7289 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005159/0.7296, allocations: 2.319 MB / 0.7312 GB, free: 220 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7296, allocations: 0 / 0.7312 GB, free: 220 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.3738/1.103, allocations: 0.7996 MB / 0.732 GB, free: 153.9 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.0005248/1.104, allocations: 149.2 kB / 0.7321 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007098/1.111, allocations: 3.903 MB / 0.7359 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.111, allocations: 1.859 kB / 0.7359 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/1.113, allocations: 1.046 MB / 0.737 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.115, allocations: 380.6 kB / 0.7373 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.126, allocations: 7.454 MB / 0.7446 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/1.129, allocations: 2.778 MB / 0.7473 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003319/1.132, allocations: 1.661 MB / 0.7489 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000561/1.132, allocations: 207.2 kB / 0.7491 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.132, allocations: 4 kB / 0.7491 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05509/1.187, allocations: 31.82 MB / 0.7802 GB, free: 117.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.342223656130955]