Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction.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.001677/0.001677, allocations: 116 kB / 21.18 MB, free: 0.6289 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.002058/0.002058, allocations: 213.7 kB / 24.48 MB, free: 4.035 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.475/1.475, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2281/0.2281, allocations: 46.88 MB / 361.1 MB, free: 4.656 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction") translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003067/0.003067, allocations: 83.86 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.324, allocations: 65.98 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005764/0.3298, allocations: 4.144 MB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.3325, allocations: 1.489 MB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.3328, allocations: 15.94 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.3332, allocations: 134.7 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.3338, allocations: 285.9 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006763/0.3345, allocations: 351.4 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.3356, allocations: 1.093 MB / 0.5685 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.3359, allocations: 145.3 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006284/0.3365, allocations: 482.5 kB / 0.5691 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000647/0.3372, allocations: 0.5215 MB / 0.5696 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.3373, allocations: 84 kB / 0.5697 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.3376, allocations: 140 kB / 0.5698 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.3378, allocations: 231.3 kB / 0.5701 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.3383, allocations: 437.8 kB / 0.5705 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.3394, allocations: 1.016 MB / 0.5715 GB, free: 10.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3394, allocations: 3.938 kB / 0.5715 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3394, allocations: 4 kB / 0.5715 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3394, allocations: 0 / 0.5715 GB, free: 10.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002458/0.3418, allocations: 1.183 MB / 0.5726 GB, free: 9.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3419, allocations: 8.031 kB / 0.5726 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005163/0.3424, allocations: 124.3 kB / 0.5727 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007833/0.3432, allocations: 493.8 kB / 0.5732 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.3432, allocations: 49.69 kB / 0.5733 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3434, allocations: 75.88 kB / 0.5733 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.3449, allocations: 0.8145 MB / 0.5741 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.345, allocations: 4 kB / 0.5741 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.345, allocations: 28 kB / 0.5742 GB, free: 7.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.3451, allocations: 12 kB / 0.5742 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.3467, allocations: 0.7509 MB / 0.5749 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/0.3512, allocations: 2.575 MB / 0.5774 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.3527, allocations: 0.623 MB / 0.578 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007663/0.3535, allocations: 351.3 kB / 0.5784 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.3535, allocations: 8 kB / 0.5784 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.3536, allocations: 50.5 kB / 0.5784 GB, free: 3.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=79): time 3.056e-06/0.3536, allocations: 0 / 0.5784 GB, free: 3.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.008392/0.362, allocations: 3.551 MB / 0.5819 GB, free: 15.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.3621, allocations: 140.5 kB / 0.582 GB, free: 15.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006148/0.3627, allocations: 481.9 kB / 0.5825 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.445e-05/0.3628, allocations: 49.7 kB / 0.5825 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.363, allocations: 289.1 kB / 0.5828 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.3632, allocations: 297.6 kB / 0.5831 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.3635, allocations: 178.5 kB / 0.5833 GB, free: 13.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3637, allocations: 382.7 kB / 0.5836 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008013/0.3645, allocations: 357.8 kB / 0.584 GB, free: 13.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009391/0.3655, allocations: 0.5197 MB / 0.5845 GB, free: 12.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.3668, allocations: 0.6884 MB / 0.5851 GB, free: 11.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3669, allocations: 4 kB / 0.5852 GB, free: 11.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00273/0.3696, allocations: 1.193 MB / 0.5863 GB, free: 10.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3696, allocations: 14.33 kB / 0.5863 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3696, allocations: 4 kB / 0.5863 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.3709, allocations: 0.5775 MB / 0.5869 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.3714, allocations: 151.7 kB / 0.587 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/0.3754, allocations: 3.862 MB / 0.5908 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009145/0.3763, allocations: 139.9 kB / 0.5909 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/0.3764, allocations: 35.98 kB / 0.591 GB, free: 5.484 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,bearingFriction.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,8), (1,10), (1,6), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003645/0.3767, allocations: 216.3 kB / 0.5912 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.3769, allocations: 71.53 kB / 0.5913 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.3771, allocations: 96.83 kB / 0.5913 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.3771, allocations: 7.922 kB / 0.5914 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3771, allocations: 0 / 0.5914 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.3775, allocations: 236.5 kB / 0.5916 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.3776, allocations: 24 kB / 0.5916 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/0.3785, allocations: 127.9 kB / 0.5917 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.3789, allocations: 151.7 kB / 0.5919 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003573/0.3824, allocations: 1.386 MB / 0.5932 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002712/0.3852, allocations: 1.551 MB / 0.5947 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008561/0.386, allocations: 367.8 kB / 0.5951 GB, free: 1.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004021/0.3864, allocations: 322.9 kB / 0.5954 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of Backend: time 4.3e-07/0.3864, allocations: 3.938 kB / 0.5954 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.3906, allocations: 1.199 MB / 0.5966 GB, free: 15.88 MB / 446.1 MB Notification: Performance of SimCode: time 0.00331/0.3939, allocations: 2.424 MB / 0.5989 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Templates: time 0.02711/0.4211, allocations: 16.28 MB / 0.6148 GB, free: 13.18 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestFriction.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: 5.481893402989954]