Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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 trunk/package.mo): time 0.0002409/0.0002409, allocations: 0 / 0, free: 0 / 0 " [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.0002238/0.0002238, allocations: 0 / 0, free: 0 / 0 " [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 0.09169/0.09169, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.01505/0.01505, allocations: 0 / 0, free: 0 / 0 " [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: simulate(ModelicaTest.Rotational.TestMove,startTime=0,stopTime=1.1,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Rotational.TestMove,startTime=0,stopTime=1.1,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.646e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008754/0.008781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005729/0.01451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/0.01492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001551/0.01647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00274/0.01921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.02034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002823/0.02316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.02453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.02585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.02706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.02722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.0286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0008021/0.02941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0006186/0.03002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003039/0.03306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002742/0.03334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.868e-06/0.03334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.898e-05/0.03336, 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.003597/0.03696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001427/0.0371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/0.03993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.04149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.04162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.04194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/0.04568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-05/0.04575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.04598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/0.0479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003586/0.05149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.06802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.06989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.07016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.003397/0.07356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.07358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=79): time 7.655e-06/0.07359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=86): time 0.004959/0.07855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.07859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.08135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.08144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.08291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.08324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.08434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.055e-05/0.08439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009704/0.08536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.08712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.08921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.598e-05/0.08929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=575) (initialization): time 0.004558/0.09385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.09396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001396/0.0941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.09431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.09664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002273/0.09687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.09913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003845/0.09952, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 486 * Number of states: 0 () * Number of discrete variables: 18 (Body1.sphereColor[1],Body1.sphereColor[2],Body1.sphereColor[3],ActuatedRevolute1.cylinderColor[1],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001244/0.1008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005974/0.1016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.1017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.1053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.1053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.1057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.1057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.1058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.1058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.1058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007519/0.1065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.1069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006015/0.1075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.1081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.1082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.1083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001161/0.1095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.161e-05/0.1095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.004295/0.1138, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * 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 (64): * Single equations (assignments): 61 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009363/0.1148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.00236/0.1171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0001767/0.1173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.1176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.12, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.1254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.1265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0009179/0.1275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/0.1281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 7.296e-05/0.1282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00503/0.1332, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.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: 0.9551986735314131]