Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001341/0.001341, allocations: 82.33 kB / 21.25 MB, free: 0.5469 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.001447/0.001447, allocations: 163.3 kB / 24.5 MB, free: 3.852 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.462/1.462, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.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.2199/0.2199, allocations: 34.27 MB / 295.4 MB, free: 14.47 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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 75.88 kB / 443.1 MB, free: 6.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2878, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01126/0.2991, allocations: 13.92 MB / 0.5108 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009191/0.3083, allocations: 5.212 MB / 0.5159 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.3104, allocations: 128.8 kB / 0.5161 GB, free: 17.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00892/0.3193, allocations: 4.979 MB / 0.5209 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007063/0.3264, allocations: 2.679 MB / 0.5235 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.3299, allocations: 1.392 MB / 0.5249 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.341, allocations: 8.267 MB / 0.533 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00619/0.3472, allocations: 5.175 MB / 0.538 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/0.3517, allocations: 2.823 MB / 0.5408 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005655/0.3573, allocations: 3.774 MB / 0.5445 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002131/0.3595, allocations: 0.6339 MB / 0.5451 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.3635, allocations: 1.675 MB / 0.5467 GB, free: 2.742 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003437/0.367, allocations: 3.421 MB / 0.5501 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006944/0.3739, allocations: 2.789 MB / 0.5528 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.3907, allocations: 12.02 MB / 0.5645 GB, free: 452 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3907, allocations: 0 / 0.5645 GB, free: 452 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3907, allocations: 0 / 0.5645 GB, free: 452 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003964/0.3911, allocations: 0 / 0.5645 GB, free: 452 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02085/0.412, allocations: 8.017 MB / 0.5724 GB, free: 8.352 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.412, allocations: 12.03 kB / 0.5724 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.4274, allocations: 3.218 MB / 0.5755 GB, free: 5.113 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.4394, allocations: 4.983 MB / 0.5804 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.4397, allocations: 382.2 kB / 0.5807 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.4413, allocations: 0.5152 MB / 0.5812 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03019/0.4715, allocations: 15.66 MB / 0.5965 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002088/0.4717, allocations: 71.45 kB / 0.5966 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007173/0.4724, allocations: 239.8 kB / 0.5968 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004254/0.4766, allocations: 2.548 MB / 0.5993 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02998/0.5066, allocations: 13.1 MB / 0.6121 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07843/0.5851, allocations: 52.77 MB / 0.6636 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/0.6034, allocations: 5.92 MB / 0.6694 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004716/0.6082, allocations: 3.239 MB / 0.6726 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01707/0.6252, allocations: 9.288 MB / 0.6817 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.6253, allocations: 60.5 kB / 0.6817 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=248): time 5.861e-06/0.6253, allocations: 4 kB / 0.6817 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=343): time 0.3691/0.9944, allocations: 40.23 MB / 0.721 GB, free: 139 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.9945, allocations: 243.5 kB / 0.7212 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007665/1.002, allocations: 5.45 MB / 0.7266 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008455/1.003, allocations: 80.7 kB / 0.7266 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002515/1.006, allocations: 4.538 MB / 0.7311 GB, free: 133.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/1.007, allocations: 1.325 MB / 0.7324 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/1.009, allocations: 1.753 MB / 0.7341 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.565e-05/1.009, allocations: 305.7 kB / 0.7344 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/1.014, allocations: 4.079 MB / 0.7384 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00606/1.02, allocations: 8.732 MB / 0.7469 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/1.032, allocations: 13.55 MB / 0.7601 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.125e-05/1.032, allocations: 48 kB / 0.7602 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.02782/1.06, allocations: 16.3 MB / 0.7761 GB, free: 91.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/1.06, allocations: 72 kB / 0.7761 GB, free: 91.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/1.06, allocations: 156 kB / 0.7763 GB, free: 91.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01255/1.072, allocations: 4.279 MB / 0.7805 GB, free: 87.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005886/1.078, allocations: 1.903 MB / 0.7823 GB, free: 85.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02528/1.103, allocations: 21.16 MB / 0.803 GB, free: 64.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006947/1.11, allocations: 0.5111 MB / 0.8035 GB, free: 63.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008841/1.111, allocations: 476 kB / 0.8039 GB, free: 63.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1027): * Single equations (assignments): 1023 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003941/1.115, allocations: 3.123 MB / 0.807 GB, free: 60.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008546/1.116, allocations: 0.5045 MB / 0.8075 GB, free: 59.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/1.135, allocations: 10.02 MB / 0.8173 GB, free: 49.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/1.135, allocations: 36 kB / 0.8173 GB, free: 49.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/1.135, allocations: 12 kB / 0.8173 GB, free: 49.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.862e-05/1.135, allocations: 19.94 kB / 0.8173 GB, free: 49.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03272/1.168, allocations: 17.84 MB / 0.8348 GB, free: 31.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/1.168, allocations: 11.94 kB / 0.8348 GB, free: 31.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/1.17, allocations: 499.9 kB / 0.8353 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01163/1.181, allocations: 3.842 MB / 0.839 GB, free: 27.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003323/1.182, allocations: 64 kB / 0.8391 GB, free: 27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02269/1.204, allocations: 18.73 MB / 0.8574 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.204, allocations: 8 kB / 0.8574 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03226/1.237, allocations: 14.86 MB / 0.8719 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/1.239, allocations: 484.4 kB / 0.8723 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002091/1.241, allocations: 60.94 kB / 0.8724 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005623/1.247, allocations: 239.7 kB / 0.8726 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/1.248, allocations: 245.7 kB / 0.8729 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005396/1.249, allocations: 95.98 kB / 0.873 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008729/1.258, allocations: 3.224 MB / 0.8761 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/1.258, allocations: 0 / 0.8761 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01394/1.272, allocations: 1.758 MB / 0.8778 GB, free: 3.027 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/1.273, allocations: 254.1 kB / 0.8781 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02258/1.296, allocations: 9.344 MB / 0.8872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/1.296, allocations: 0 / 0.8872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006895/1.302, allocations: 3.449 MB / 0.8906 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005934/1.308, allocations: 0.6399 MB / 0.8912 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/1.34, allocations: 16.19 MB / 0.907 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0083/1.348, allocations: 4.335 MB / 0.9112 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006487/1.355, allocations: 2.524 MB / 0.9137 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.356, allocations: 336.5 kB / 0.914 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/1.356, allocations: 0 / 0.914 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of Templates: time 0.4325/1.789, allocations: 70.87 MB / 0.9832 GB, free: 189.2 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 8.631236264947802]