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.001707/0.001707, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002146/0.002146, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.512/1.512, allocations: 177 MB / 204.1 MB, free: 9.152 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.2234/0.2234, allocations: 34.26 MB / 294.8 MB, free: 14.53 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 1.643e-06/1.643e-06, allocations: 0 / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.009e-05, allocations: 5.234 kB / 442.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2744/0.2744, allocations: 13.91 MB / 456.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.2871, allocations: 5.23 MB / 461.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004082/0.2912, allocations: 132.3 kB / 461.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0118/0.303, allocations: 5.245 MB / 467.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.3135, allocations: 2.754 MB / 469.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.3177, allocations: 1.548 MB / 471.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.017/0.3347, allocations: 9.348 MB / 480.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01451/0.3492, allocations: 5.979 MB / 486.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01304/0.3623, allocations: 4.245 MB / 491 MB, free: 5.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008816/0.3711, allocations: 4.123 MB / 495.2 MB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002915/0.374, allocations: 0.6484 MB / 495.8 MB, free: 0.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005945/0.3799, allocations: 1.728 MB / 497.5 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006037/0.386, allocations: 3.592 MB / 0.4894 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006624/0.3926, allocations: 2.255 MB / 0.4916 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02692/0.4195, allocations: 12.22 MB / 0.5035 GB, free: 12.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.4195, allocations: 4 kB / 0.5035 GB, free: 12.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.171e-06/0.4195, allocations: 4 kB / 0.5035 GB, free: 12.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006257/0.4202, allocations: 0 / 0.5035 GB, free: 12.81 MB / 414.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.03167/0.4518, allocations: 8.095 MB / 0.5114 GB, free: 4.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.4519, allocations: 16.03 kB / 0.5114 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/0.4695, allocations: 3.214 MB / 0.5146 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/0.4837, allocations: 4.959 MB / 0.5194 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005616/0.4843, allocations: 382.2 kB / 0.5198 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/0.4872, allocations: 0.5119 MB / 0.5203 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04256/0.5297, allocations: 15.67 MB / 0.5356 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004121/0.5301, allocations: 67.47 kB / 0.5357 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002228/0.5324, allocations: 235.7 kB / 0.5359 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004831/0.5372, allocations: 2.548 MB / 0.5384 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03175/0.569, allocations: 13.1 MB / 0.5512 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08843/0.6574, allocations: 53.12 MB / 0.603 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/0.6769, allocations: 5.916 MB / 0.6088 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005148/0.682, allocations: 3.241 MB / 0.612 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02015/0.7022, allocations: 9.62 MB / 0.6214 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.734e-05/0.7022, allocations: 56.56 kB / 0.6214 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=248): time 6.533e-06/0.7022, allocations: 0 / 0.6214 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=343): time 0.3983/1.101, allocations: 40.44 MB / 0.6609 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.101, allocations: 246.9 kB / 0.6612 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009119/1.11, allocations: 5.706 MB / 0.6667 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.111, allocations: 79.98 kB / 0.6668 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002924/1.114, allocations: 4.497 MB / 0.6712 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/1.116, allocations: 1.297 MB / 0.6725 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00248/1.118, allocations: 1.733 MB / 0.6741 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/1.118, allocations: 301.1 kB / 0.6744 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005543/1.124, allocations: 4.079 MB / 0.6784 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009451/1.133, allocations: 8.734 MB / 0.6869 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/1.147, allocations: 13.56 MB / 0.7002 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002067/1.148, allocations: 48 kB / 0.7002 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.03168/1.179, allocations: 16.29 MB / 0.7161 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/1.179, allocations: 78.81 kB / 0.7162 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000149/1.18, allocations: 159.9 kB / 0.7164 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/1.193, allocations: 4.272 MB / 0.7205 GB, free: 108 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006657/1.199, allocations: 1.899 MB / 0.7224 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02731/1.227, allocations: 21.24 MB / 0.7431 GB, free: 84.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00932/1.236, allocations: 0.5968 MB / 0.7437 GB, free: 84.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/1.237, allocations: 488 kB / 0.7442 GB, free: 83.71 MB / 0.5294 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.006055/1.244, allocations: 3.114 MB / 0.7472 GB, free: 80.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001633/1.245, allocations: 0.5006 MB / 0.7477 GB, free: 80.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/1.265, allocations: 10.03 MB / 0.7575 GB, free: 70 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.158e-05/1.265, allocations: 36 kB / 0.7576 GB, free: 69.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/1.265, allocations: 16 kB / 0.7576 GB, free: 69.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-05/1.265, allocations: 15.94 kB / 0.7576 GB, free: 69.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0381/1.303, allocations: 18.01 MB / 0.7752 GB, free: 51.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/1.303, allocations: 4 kB / 0.7752 GB, free: 51.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.306, allocations: 0.4998 MB / 0.7757 GB, free: 51.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01302/1.319, allocations: 3.835 MB / 0.7794 GB, free: 47.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008735/1.32, allocations: 66.27 kB / 0.7795 GB, free: 47.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02408/1.344, allocations: 18.81 MB / 0.7978 GB, free: 28.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.344, allocations: 8 kB / 0.7979 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02547/1.369, allocations: 14.85 MB / 0.8124 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/1.371, allocations: 0.5316 MB / 0.8129 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/1.372, allocations: 62.12 kB / 0.8129 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/1.376, allocations: 307.5 kB / 0.8132 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008281/1.377, allocations: 249.8 kB / 0.8135 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/1.377, allocations: 92 kB / 0.8135 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004745/1.382, allocations: 3.427 MB / 0.8169 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.382, allocations: 0 / 0.8169 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008952/1.391, allocations: 1.968 MB / 0.8188 GB, free: 6.816 MB / 0.5294 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.0008835/1.391, allocations: 266.1 kB / 0.8191 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.406, allocations: 9.344 MB / 0.8282 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.406, allocations: 0 / 0.8282 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006556/1.413, allocations: 3.446 MB / 0.8316 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005266/1.418, allocations: 0.6606 MB / 0.8322 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2346/1.653, allocations: 16.11 MB / 0.8479 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007773/1.661, allocations: 4.326 MB / 0.8522 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006901/1.667, allocations: 2.537 MB / 0.8546 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/1.669, allocations: 344.2 kB / 0.855 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/1.669, allocations: 0 / 0.855 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1098/1.779, allocations: 73.43 MB / 0.9267 GB, free: 128.7 MB / 0.5606 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/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.897658411413431]