Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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.001701/0.001701, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001876/0.001876, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.535/1.535, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.26/0.26, allocations: 46.95 MB / 361.6 MB, free: 3.914 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: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 87.75 kB / 0.4974 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4272, allocations: 66.07 MB / 0.5619 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009234/0.4364, allocations: 6.036 MB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007785/0.4442, allocations: 2.302 MB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.446, allocations: 35.88 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.4493, allocations: 1.031 MB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.4532, allocations: 0.8636 MB / 0.5719 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.4545, allocations: 311.3 kB / 0.5722 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.4587, allocations: 1.868 MB / 0.574 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.461, allocations: 1.086 MB / 0.5751 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.4627, allocations: 0.7316 MB / 0.5758 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.4651, allocations: 1.016 MB / 0.5768 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005056/0.4656, allocations: 128 kB / 0.5769 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.4676, allocations: 0.6357 MB / 0.5776 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001521/0.4691, allocations: 0.9539 MB / 0.5785 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.4704, allocations: 0.7951 MB / 0.5793 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007314/0.4777, allocations: 3.738 MB / 0.5829 GB, free: 14.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4777, allocations: 0 / 0.5829 GB, free: 14.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4777, allocations: 0 / 0.5829 GB, free: 14.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001316/0.4779, allocations: 0 / 0.5829 GB, free: 14.34 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.008287/0.4862, allocations: 2.644 MB / 0.5855 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.4862, allocations: 11.97 kB / 0.5855 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008716/0.4949, allocations: 1.586 MB / 0.5871 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.4985, allocations: 1.023 MB / 0.5881 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.4987, allocations: 119.2 kB / 0.5882 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006108/0.4993, allocations: 164 kB / 0.5883 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/0.5139, allocations: 6.178 MB / 0.5944 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.514, allocations: 27.75 kB / 0.5944 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.5144, allocations: 79.89 kB / 0.5945 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00314/0.5175, allocations: 1.441 MB / 0.5959 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.5287, allocations: 5.373 MB / 0.6011 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03149/0.5602, allocations: 23.34 MB / 0.6239 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/0.5647, allocations: 1.81 MB / 0.6257 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.5659, allocations: 0.8825 MB / 0.6265 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.5662, allocations: 87.8 kB / 0.6266 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.5663, allocations: 58.42 kB / 0.6267 GB, free: 104 kB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.045e-06/0.5663, allocations: 0 / 0.6267 GB, free: 104 kB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02316/0.5894, allocations: 8.348 MB / 0.6348 GB, free: 7.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.5895, allocations: 136.5 kB / 0.635 GB, free: 7.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/0.593, allocations: 2.449 MB / 0.6374 GB, free: 5.023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.5931, allocations: 45.88 kB / 0.6374 GB, free: 4.973 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.595, allocations: 2.139 MB / 0.6395 GB, free: 2.809 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/0.5955, allocations: 460.5 kB / 0.6399 GB, free: 2.355 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.5967, allocations: 0.8734 MB / 0.6408 GB, free: 1.469 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5968, allocations: 334 kB / 0.6411 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.5991, allocations: 1.34 MB / 0.6424 GB, free: 15.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004665/0.6038, allocations: 4.1 MB / 0.6464 GB, free: 10.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007442/0.6112, allocations: 5.94 MB / 0.6522 GB, free: 2.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.473e-05/0.6113, allocations: 28 kB / 0.6522 GB, free: 2.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01128/0.6226, allocations: 5.471 MB / 0.6576 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.6227, allocations: 48 kB / 0.6576 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/0.6228, allocations: 99.94 kB / 0.6577 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.6245, allocations: 461.2 kB / 0.6582 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004551/0.629, allocations: 0.9747 MB / 0.6591 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006381/0.6354, allocations: 3.507 MB / 0.6625 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004551/0.64, allocations: 231.7 kB / 0.6628 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006982/0.6407, allocations: 276 kB / 0.663 GB, free: 7.777 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003565/0.6442, allocations: 1.372 MB / 0.6644 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/0.6448, allocations: 206.6 kB / 0.6646 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.6485, allocations: 1.295 MB / 0.6658 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/0.6486, allocations: 12 kB / 0.6658 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.6486, allocations: 4.281 kB / 0.6658 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.6486, allocations: 3.984 kB / 0.6658 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009935/0.6585, allocations: 3.609 MB / 0.6694 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.6585, allocations: 3.938 kB / 0.6694 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/0.6594, allocations: 143.8 kB / 0.6695 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.6607, allocations: 312.5 kB / 0.6698 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.6608, allocations: 19.98 kB / 0.6698 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005418/0.6663, allocations: 2.917 MB / 0.6727 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.6663, allocations: 320 / 0.6727 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00693/0.6732, allocations: 3.051 MB / 0.6757 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007022/0.6739, allocations: 178.5 kB / 0.6758 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.6742, allocations: 19.94 kB / 0.6758 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.6753, allocations: 43.94 kB / 0.6759 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.6756, allocations: 60.27 kB / 0.6759 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.6757, allocations: 24 kB / 0.676 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003245/0.6789, allocations: 1.378 MB / 0.6773 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6789, allocations: 4.062 kB / 0.6773 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005439/0.6844, allocations: 0.582 MB / 0.6779 GB, free: 8.324 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005119/0.6849, allocations: 139 kB / 0.678 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006271/0.6912, allocations: 3.092 MB / 0.681 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6912, allocations: 7.938 kB / 0.681 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.6924, allocations: 0.8092 MB / 0.6818 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.6937, allocations: 182.3 kB / 0.682 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.7042, allocations: 5.808 MB / 0.6877 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.7064, allocations: 1.605 MB / 0.6892 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.707, allocations: 175.4 kB / 0.6894 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/0.707, allocations: 0 / 0.6894 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.361/1.068, allocations: 45.72 MB / 0.7341 GB, free: 157 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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: 11.406374061014503]