Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002759/0.0002759, allocations: 0 / 0, free: 0 / 0 " [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.0002366/0.0002366, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.0567/0.0567, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.01297/0.01297, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: simulate(ModelicaTest.MultiBody.PlanarLoopWithMove,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|combiTimeTable.nextTimeEvent|rh1.[0-9,]+.|rv1.[0-9,]+.|rv2.[0-9,]+.|rh2.[0-9,]+.|r1.frame_b.r_0.[0-9,]+.|r1.frame_b.f.[0-9,]+.|r1.frame_b.t.[0-9,]+.|rod1.frame_b.r_0.[0-9,]+.|rod1.frame_b.f.[0-9,]+.|rod1.frame_b.t.[0-9,]+.|rod2.frame_b.r_0.[0-9,]+.|rod2.frame_b.f.[0-9,]+.|rod2.frame_b.t.[0-9,]+.|r2.frame_b.r_0.[0-9,]+.|r2.frame_b.f.[0-9,]+.|r2.frame_b.t.[0-9,]+.|bodyShape.frame_b.r_0.[0-9,]+.|bodyShape.frame_b.f.[0-9,]+.|bodyShape.frame_b.t.[0-9,]+.|bodyShape.frameTranslation.frame_b.r_0.[0-9,]+.|bodyShape.frameTranslation.frame_b.f.[0-9,]+.|bodyShape.frameTranslation.frame_b.t.[0-9,]+.|r3.frame_b.r_0.[0-9,]+.|r3.frame_b.f.[0-9,]+.|r3.frame_b.t.[0-9,]+.|r4.frame_b.r_0.[0-9,]+.|r4.frame_b.f.[0-9,]+.|r4.frame_b.t.[0-9,]+.|rod3.frame_b.r_0.[0-9,]+.|rod3.frame_b.f.[0-9,]+.|rod3.frame_b.t.[0-9,]+.|deg2rad1.y.[0-9,]+.|combiTimeTable.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.MultiBody.PlanarLoopWithMove,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|combiTimeTable.nextTimeEvent|rh1.[0-9,]+.|rv1.[0-9,]+.|rv2.[0-9,]+.|rh2.[0-9,]+.|r1.frame_b.r_0.[0-9,]+.|r1.frame_b.f.[0-9,]+.|r1.frame_b.t.[0-9,]+.|rod1.frame_b.r_0.[0-9,]+.|rod1.frame_b.f.[0-9,]+.|rod1.frame_b.t.[0-9,]+.|rod2.frame_b.r_0.[0-9,]+.|rod2.frame_b.f.[0-9,]+.|rod2.frame_b.t.[0-9,]+.|r2.frame_b.r_0.[0-9,]+.|r2.frame_b.f.[0-9,]+.|r2.frame_b.t.[0-9,]+.|bodyShape.frame_b.r_0.[0-9,]+.|bodyShape.frame_b.f.[0-9,]+.|bodyShape.frame_b.t.[0-9,]+.|bodyShape.frameTranslation.frame_b.r_0.[0-9,]+.|bodyShape.frameTranslation.frame_b.f.[0-9,]+.|bodyShape.frameTranslation.frame_b.t.[0-9,]+.|r3.frame_b.r_0.[0-9,]+.|r3.frame_b.f.[0-9,]+.|r3.frame_b.t.[0-9,]+.|r4.frame_b.r_0.[0-9,]+.|r4.frame_b.f.[0-9,]+.|r4.frame_b.t.[0-9,]+.|rod3.frame_b.r_0.[0-9,]+.|rod3.frame_b.f.[0-9,]+.|rod3.frame_b.t.[0-9,]+.|deg2rad1.y.[0-9,]+.|combiTimeTable.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.124e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.008668/0.008699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007005/0.0157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0009638/0.01667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.003716/0.02038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.003158/0.02354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.0251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003785/0.02888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.0315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.03499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.03695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003115/0.03726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.0387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.00137/0.04007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0009188/0.04099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.005614/0.0466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0006633/0.04726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.623e-06/0.04727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.422e-05/0.04731, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.005934/0.05324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002313/0.05348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.05555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.05757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.05778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003704/0.05815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.006683/0.06483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 7.809e-05/0.06491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.06518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001921/0.0671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005751/0.07285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06128/0.1341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.007202/0.1413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.006482/0.1485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005604/0.1541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=165): time 9.398e-06/0.1541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=206): time 0.02789/0.182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/0.185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002355/0.1852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.1866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.1871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.1882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.996e-05/0.1882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.1893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.1912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.1935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.18e-05/0.1936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=834) (initialization): time 0.005072/0.1987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/0.1987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.225e-05/0.1988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0009411/0.1998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.2018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.2054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.2077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004185/0.2081, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 (787): * Single equations (assignments): 779 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.002258/0.2104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.2106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.2125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.2125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.2176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.2176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.2181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0008003/0.2189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/0.222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.2235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006608/0.2247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.2252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004369/0.2256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.2257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0008851/0.2266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.8e-05/0.2267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002686/0.2294, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/0.2307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002568/0.2332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0001495/0.2334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.2342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.2364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.2423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.2437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0009372/0.2446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007922/0.2454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.711e-05/0.2455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01046/0.2559, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/PlanarLoopWithMove/PlanarLoopWithMove.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.1886047720909119]