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.001095/0.001095, allocations: 112.7 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.001187/0.001187, allocations: 206.8 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.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.81 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.00366/0.2935, allocations: 2.371 MB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.2951, allocations: 0.9026 MB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2952, allocations: 6.688 kB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.2955, allocations: 49.2 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.2957, allocations: 74.39 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.296, allocations: 151 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.2964, allocations: 353.8 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.2966, allocations: 86.31 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.2969, allocations: 148 kB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.2971, allocations: 163.8 kB / 0.5358 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.2972, allocations: 27.28 kB / 0.5358 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.2973, allocations: 98.52 kB / 0.5359 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2975, allocations: 78.8 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2976, allocations: 130 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006449/0.2982, allocations: 378.7 kB / 0.5365 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2983, allocations: 0 / 0.5365 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2983, allocations: 1 kB / 0.5365 GB, free: 9.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2983, allocations: 0 / 0.5365 GB, free: 9.898 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.0009801/0.2993, allocations: 0.5766 MB / 0.5371 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2993, allocations: 9.766 kB / 0.5371 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.2995, allocations: 35.2 kB / 0.5371 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.3, allocations: 270.3 kB / 0.5374 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.3, allocations: 22.81 kB / 0.5374 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.3001, allocations: 22.53 kB / 0.5374 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.3006, allocations: 275.4 kB / 0.5377 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3006, allocations: 1.438 kB / 0.5377 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.3007, allocations: 9.5 kB / 0.5377 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3007, allocations: 5.719 kB / 0.5377 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.3012, allocations: 229.6 kB / 0.5379 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3027, allocations: 0.7381 MB / 0.5386 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.3033, allocations: 256.7 kB / 0.5389 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.3036, allocations: 139 kB / 0.539 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.3036, allocations: 6.438 kB / 0.539 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3037, allocations: 37.41 kB / 0.539 GB, free: 7.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.3037, allocations: 0 / 0.539 GB, free: 7.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003497/0.3072, allocations: 1.406 MB / 0.5404 GB, free: 6.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.3072, allocations: 59.69 kB / 0.5405 GB, free: 6.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.3075, allocations: 212.5 kB / 0.5407 GB, free: 6.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.3076, allocations: 33.89 kB / 0.5407 GB, free: 6.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3077, allocations: 136.9 kB / 0.5408 GB, free: 6.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3078, allocations: 120.9 kB / 0.541 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.308, allocations: 66.5 kB / 0.541 GB, free: 6.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3081, allocations: 331.8 kB / 0.5413 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.3085, allocations: 127.2 kB / 0.5415 GB, free: 5.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.3088, allocations: 161.1 kB / 0.5416 GB, free: 5.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.3092, allocations: 242.1 kB / 0.5418 GB, free: 5.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3093, allocations: 0 / 0.5418 GB, free: 5.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008116/0.3101, allocations: 426.7 kB / 0.5423 GB, free: 5.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3101, allocations: 5.531 kB / 0.5423 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3101, allocations: 1.156 kB / 0.5423 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/0.3106, allocations: 203.5 kB / 0.5425 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.3108, allocations: 52.56 kB / 0.5425 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008857/0.3117, allocations: 0.7316 MB / 0.5432 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.312, allocations: 38.73 kB / 0.5433 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.312, allocations: 13.19 kB / 0.5433 GB, free: 4.66 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.0002654/0.3123, allocations: 148.8 kB / 0.5434 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.3124, allocations: 23.16 kB / 0.5434 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.58e-05/0.3125, allocations: 39.11 kB / 0.5435 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3125, allocations: 1.094 kB / 0.5435 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3125, allocations: 0 / 0.5435 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3126, allocations: 131.6 kB / 0.5436 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.3127, allocations: 12.41 kB / 0.5436 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.313, allocations: 37.39 kB / 0.5436 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.3131, allocations: 54.25 kB / 0.5437 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001094/0.3142, allocations: 484.3 kB / 0.5442 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009325/0.3151, allocations: 0.5885 MB / 0.5447 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002285/0.3154, allocations: 118.7 kB / 0.5448 GB, free: 3.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3155, allocations: 154.5 kB / 0.545 GB, free: 3.406 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.3155, allocations: 1.062 kB / 0.545 GB, free: 3.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.3175, allocations: 0.6994 MB / 0.5457 GB, free: 3.062 MB / 398.1 MB Notification: Performance of SimCode: time 0.00123/0.3188, allocations: 1.084 MB / 0.5467 GB, free: 1.969 MB / 398.1 MB Notification: Performance of Templates: time 0.009113/0.3279, allocations: 5.591 MB / 0.5522 GB, free: 12.39 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