Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.001344/0.001344, allocations: 78.88 kB / 21.24 MB, free: 0.543 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.001421/0.001421, allocations: 161.1 kB / 24.5 MB, free: 3.719 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.489/1.489, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.2126/0.2126, allocations: 34.25 MB / 295.4 MB, free: 14.48 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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 79.88 kB / 443.1 MB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3103, allocations: 66.05 MB / 0.4972 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01177/0.3221, allocations: 15.33 MB / 0.5122 GB, free: 19.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00975/0.3319, allocations: 5.447 MB / 0.5175 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.3346, allocations: 130.9 kB / 0.5177 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008259/0.3429, allocations: 4.468 MB / 0.522 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008428/0.3513, allocations: 3.086 MB / 0.525 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.3548, allocations: 1.493 MB / 0.5265 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01278/0.3675, allocations: 8.947 MB / 0.5352 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007854/0.3754, allocations: 5.226 MB / 0.5403 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006773/0.3822, allocations: 3.063 MB / 0.5433 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007835/0.39, allocations: 4.359 MB / 0.5476 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002744/0.3927, allocations: 0.6673 MB / 0.5482 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005242/0.398, allocations: 1.732 MB / 0.5499 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005885/0.4039, allocations: 3.787 MB / 0.5536 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007454/0.4113, allocations: 3.115 MB / 0.5567 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01962/0.4309, allocations: 13.62 MB / 0.57 GB, free: 10.89 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.431, allocations: 0 / 0.57 GB, free: 10.89 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.431, allocations: 0 / 0.57 GB, free: 10.89 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004687/0.4314, allocations: 4 kB / 0.57 GB, free: 10.89 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02726/0.4587, allocations: 9.123 MB / 0.5789 GB, free: 1.684 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4587, allocations: 8.031 kB / 0.5789 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01958/0.4783, allocations: 4.457 MB / 0.5832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01739/0.4957, allocations: 5.037 MB / 0.5882 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005397/0.4962, allocations: 426.9 kB / 0.5886 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/0.4991, allocations: 0.6089 MB / 0.5892 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04651/0.5456, allocations: 20.74 MB / 0.6094 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003177/0.546, allocations: 79.39 kB / 0.6095 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002359/0.5483, allocations: 275.7 kB / 0.6098 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006815/0.5551, allocations: 3.718 MB / 0.6134 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04189/0.597, allocations: 18.22 MB / 0.6312 GB, free: 10.84 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5757/1.173, allocations: 69.37 MB / 0.6989 GB, free: 99.41 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01613/1.189, allocations: 6.518 MB / 0.7053 GB, free: 99.29 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004794/1.194, allocations: 3.825 MB / 0.709 GB, free: 98.62 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02565/1.219, allocations: 14.85 MB / 0.7235 GB, free: 93.27 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/1.219, allocations: 68.67 kB / 0.7236 GB, free: 93.2 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=335): time 6.843e-06/1.219, allocations: 1.406 kB / 0.7236 GB, free: 93.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=419): time 0.1151/1.334, allocations: 35.91 MB / 0.7587 GB, free: 83.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/1.335, allocations: 197.4 kB / 0.7589 GB, free: 83 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008169/1.343, allocations: 6.18 MB / 0.7649 GB, free: 78.67 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009266/1.344, allocations: 89.7 kB / 0.765 GB, free: 78.58 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003053/1.347, allocations: 5.619 MB / 0.7705 GB, free: 73.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001693/1.348, allocations: 1.607 MB / 0.772 GB, free: 71.61 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003083/1.351, allocations: 2.14 MB / 0.7741 GB, free: 69.46 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/1.352, allocations: 301.1 kB / 0.7744 GB, free: 69.16 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006054/1.358, allocations: 4.358 MB / 0.7787 GB, free: 64.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008902/1.366, allocations: 10.31 MB / 0.7887 GB, free: 51.68 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/1.383, allocations: 15.68 MB / 0.8041 GB, free: 33.29 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002597/1.383, allocations: 60 kB / 0.8041 GB, free: 33.23 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03157/1.415, allocations: 16.33 MB / 0.8201 GB, free: 16.88 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/1.415, allocations: 92 kB / 0.8201 GB, free: 16.79 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000247/1.415, allocations: 208 kB / 0.8203 GB, free: 16.59 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008239/1.424, allocations: 2.366 MB / 0.8227 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008988/1.433, allocations: 2.48 MB / 0.8251 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/1.452, allocations: 12.45 MB / 0.8372 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009016/1.461, allocations: 0.6443 MB / 0.8379 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002101/1.463, allocations: 0.5937 MB / 0.8384 GB, free: 13.95 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1312): * Single equations (assignments): 1305 * Array equations: 6 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008374/1.471, allocations: 3.769 MB / 0.8421 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/1.473, allocations: 0.5782 MB / 0.8427 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0199/1.492, allocations: 8.254 MB / 0.8507 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001072/1.493, allocations: 63.98 kB / 0.8508 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/1.493, allocations: 8 kB / 0.8508 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.819e-05/1.493, allocations: 19.92 kB / 0.8508 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04217/1.535, allocations: 16.13 MB / 0.8666 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.634e-05/1.535, allocations: 12 kB / 0.8666 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/1.538, allocations: 0.6357 MB / 0.8672 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007845/1.546, allocations: 1.8 MB / 0.869 GB, free: 14.42 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000654/1.547, allocations: 82.34 kB / 0.8691 GB, free: 14.34 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/1.568, allocations: 10.54 MB / 0.8793 GB, free: 3.707 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-05/1.568, allocations: 23.88 kB / 0.8794 GB, free: 3.684 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02723/1.595, allocations: 12.43 MB / 0.8915 GB, free: 6.984 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/1.597, allocations: 0.5311 MB / 0.892 GB, free: 6.449 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/1.599, allocations: 78.09 kB / 0.8921 GB, free: 6.375 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/1.602, allocations: 219.7 kB / 0.8923 GB, free: 6.16 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000808/1.603, allocations: 281.3 kB / 0.8926 GB, free: 5.887 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003559/1.603, allocations: 119.9 kB / 0.8927 GB, free: 5.77 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006876/1.61, allocations: 3.571 MB / 0.8962 GB, free: 2.227 MB / 0.6388 GB Notification: Performance of sort global known variables: time 9.1e-08/1.61, allocations: 0 / 0.8962 GB, free: 2.227 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01351/1.624, allocations: 1.906 MB / 0.898 GB, free: 328 kB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * Array equations: 6 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001395/1.625, allocations: 287.8 kB / 0.8983 GB, free: 32 kB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.03018/1.655, allocations: 9.688 MB / 0.9078 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/1.655, allocations: 0 / 0.9078 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01097/1.666, allocations: 3.13 MB / 0.9108 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009108/1.675, allocations: 0.675 MB / 0.9115 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04768/1.723, allocations: 18.03 MB / 0.9291 GB, free: 300 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/1.734, allocations: 5.108 MB / 0.9341 GB, free: 11.15 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01009/1.744, allocations: 3.261 MB / 0.9373 GB, free: 7.879 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/1.746, allocations: 396.5 kB / 0.9377 GB, free: 7.492 MB / 0.6857 GB Notification: Performance of SimCode: time 2.134e-06/1.746, allocations: 0 / 0.9377 GB, free: 7.492 MB / 0.6857 GB Notification: Performance of Templates: time 0.411/2.157, allocations: 62.64 MB / 0.9988 GB, free: 214.5 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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: 9.204170588054694]