Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.866/1.866, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2616/0.2616, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002612, allocations: 75.86 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3934, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003903/0.3973, allocations: 2.372 MB / 0.534 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3989, allocations: 0.9051 MB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.3992, allocations: 4.125 kB / 0.5349 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.3995, allocations: 47.77 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.3998, allocations: 79.77 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.4003, allocations: 152.4 kB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.4008, allocations: 348.9 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.401, allocations: 83.17 kB / 0.5355 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.4014, allocations: 155.9 kB / 0.5357 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.4017, allocations: 162.1 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.4018, allocations: 28.53 kB / 0.5359 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.4021, allocations: 90.44 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.4022, allocations: 71.22 kB / 0.536 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.4024, allocations: 137.6 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.403, allocations: 384.8 kB / 0.5365 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.403, allocations: 1.062 kB / 0.5365 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.403, allocations: 0 / 0.5365 GB, free: 9.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.384e-05/0.4031, allocations: 0 / 0.5365 GB, free: 9.875 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001208/0.4043, allocations: 0.5954 MB / 0.5371 GB, free: 9.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4044, allocations: 10.17 kB / 0.5371 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.4046, allocations: 35.31 kB / 0.5371 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.405, allocations: 258.6 kB / 0.5374 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.405, allocations: 22.06 kB / 0.5374 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.4051, allocations: 28.25 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.4057, allocations: 266.4 kB / 0.5377 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.4058, allocations: 8.875 kB / 0.5377 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.4058, allocations: 14.09 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4058, allocations: 5.344 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.4064, allocations: 233.9 kB / 0.5379 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.4081, allocations: 0.7338 MB / 0.5387 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.4087, allocations: 241.2 kB / 0.5389 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.409, allocations: 137.8 kB / 0.539 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.409, allocations: 10.84 kB / 0.539 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.4091, allocations: 40.19 kB / 0.5391 GB, free: 7.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.4091, allocations: 0 / 0.5391 GB, free: 7.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003542/0.4126, allocations: 1.412 MB / 0.5404 GB, free: 6.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.4127, allocations: 58.81 kB / 0.5405 GB, free: 6.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.413, allocations: 213.2 kB / 0.5407 GB, free: 6.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.413, allocations: 37.3 kB / 0.5407 GB, free: 6.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.4131, allocations: 134.6 kB / 0.5409 GB, free: 6.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4132, allocations: 124.2 kB / 0.541 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.4134, allocations: 67.31 kB / 0.541 GB, free: 6.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4136, allocations: 335 kB / 0.5414 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.4138, allocations: 123.5 kB / 0.5415 GB, free: 5.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.4142, allocations: 165.2 kB / 0.5416 GB, free: 5.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.4147, allocations: 244.4 kB / 0.5419 GB, free: 5.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4147, allocations: 0 / 0.5419 GB, free: 5.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009554/0.4156, allocations: 432 kB / 0.5423 GB, free: 5.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4157, allocations: 5.594 kB / 0.5423 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4157, allocations: 1.156 kB / 0.5423 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.4163, allocations: 196.4 kB / 0.5425 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.4165, allocations: 55.94 kB / 0.5425 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008103/0.4173, allocations: 0.7235 MB / 0.5432 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.4176, allocations: 35.67 kB / 0.5433 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.4177, allocations: 16.17 kB / 0.5433 GB, free: 4.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.4179, allocations: 157.6 kB / 0.5434 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.4179, allocations: 22.42 kB / 0.5435 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.333e-05/0.418, allocations: 39.27 kB / 0.5435 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.418, allocations: 1.25 kB / 0.5435 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.418, allocations: 64 / 0.5435 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4182, allocations: 127.6 kB / 0.5436 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.464e-05/0.4183, allocations: 20.88 kB / 0.5436 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.4185, allocations: 32.69 kB / 0.5437 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.4187, allocations: 54.52 kB / 0.5437 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001299/0.42, allocations: 488.6 kB / 0.5442 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009584/0.421, allocations: 0.5892 MB / 0.5448 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002619/0.4212, allocations: 118.7 kB / 0.5449 GB, free: 3.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.4214, allocations: 154.1 kB / 0.545 GB, free: 3.363 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.4214, allocations: 0 / 0.545 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.4236, allocations: 0.6983 MB / 0.5457 GB, free: 3.023 MB / 398.1 MB Notification: Performance of SimCode: time 0.001533/0.4251, allocations: 1.092 MB / 0.5468 GB, free: 1.918 MB / 398.1 MB Notification: Performance of Templates: time 0.01138/0.4365, allocations: 5.418 MB / 0.5521 GB, free: 12.51 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches