Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [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.001885/0.001885, allocations: 209.8 kB / 24.49 MB, free: 4.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 46.93 MB / 361.6 MB, free: 4.281 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.88 kB / 0.4974 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2923, allocations: 66.04 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003988/0.2963, allocations: 2.381 MB / 0.5642 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2978, allocations: 0.9229 MB / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.298, allocations: 7.938 kB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.2982, allocations: 51.56 kB / 0.5652 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.2985, allocations: 79.28 kB / 0.5652 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.2989, allocations: 143.6 kB / 0.5654 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.2993, allocations: 355.2 kB / 0.5657 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.2995, allocations: 65.12 kB / 0.5658 GB, free: 412 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.2998, allocations: 163.5 kB / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.3001, allocations: 167.4 kB / 0.5661 GB, free: 80 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.3002, allocations: 28 kB / 0.5661 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.3004, allocations: 88 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.3005, allocations: 75.72 kB / 0.5663 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.3007, allocations: 139.3 kB / 0.5664 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.3012, allocations: 377 kB / 0.5668 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3012, allocations: 0 / 0.5668 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3012, allocations: 0 / 0.5668 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3012, allocations: 4 kB / 0.5668 GB, free: 15.39 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00102/0.3022, allocations: 0.5206 MB / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3023, allocations: 11.97 kB / 0.5673 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.3025, allocations: 36.78 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.3028, allocations: 194.8 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.3029, allocations: 20.88 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.3029, allocations: 20.38 kB / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.3035, allocations: 272.3 kB / 0.5678 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3035, allocations: 3.953 kB / 0.5678 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.3035, allocations: 12 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3035, allocations: 4 kB / 0.5678 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.3041, allocations: 237.8 kB / 0.568 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.3055, allocations: 0.6966 MB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.306, allocations: 226.5 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.3063, allocations: 129.2 kB / 0.5691 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.3063, allocations: 4 kB / 0.5691 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3064, allocations: 38.48 kB / 0.5691 GB, free: 12.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.282e-06/0.3064, allocations: 4 kB / 0.5691 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003123/0.3095, allocations: 1.184 MB / 0.5703 GB, free: 11.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3095, allocations: 55.41 kB / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.3098, allocations: 207.8 kB / 0.5705 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.3098, allocations: 41.62 kB / 0.5706 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3099, allocations: 132.9 kB / 0.5707 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.31, allocations: 130.9 kB / 0.5708 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3102, allocations: 65.69 kB / 0.5709 GB, free: 10.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3103, allocations: 334.8 kB / 0.5712 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.3106, allocations: 119.9 kB / 0.5713 GB, free: 10.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.3109, allocations: 163.3 kB / 0.5715 GB, free: 10.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.3113, allocations: 239.9 kB / 0.5717 GB, free: 10.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3113, allocations: 0 / 0.5717 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008944/0.3122, allocations: 422 kB / 0.5721 GB, free: 9.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3122, allocations: 8 kB / 0.5721 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3122, allocations: 8 kB / 0.5721 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.3127, allocations: 188.7 kB / 0.5723 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.3129, allocations: 55.91 kB / 0.5723 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007993/0.3137, allocations: 0.7281 MB / 0.5731 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.314, allocations: 40.02 kB / 0.5731 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.314, allocations: 12 kB / 0.5731 GB, free: 8.59 MB / 414.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.0001702/0.3142, allocations: 150.2 kB / 0.5732 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.3143, allocations: 23.86 kB / 0.5733 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.361e-05/0.3144, allocations: 38.64 kB / 0.5733 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.3144, allocations: 7.984 kB / 0.5733 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3144, allocations: 4 kB / 0.5733 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3144, allocations: 4 kB / 0.5733 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.3161, allocations: 0.9045 MB / 0.5742 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3161, allocations: 4.031 kB / 0.5742 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.3164, allocations: 51.91 kB / 0.5743 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.3167, allocations: 172.7 kB / 0.5744 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.3168, allocations: 11.98 kB / 0.5744 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006909/0.3175, allocations: 0.6928 MB / 0.5751 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3175, allocations: 0 / 0.5751 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3186, allocations: 0.6033 MB / 0.5757 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3187, allocations: 51.7 kB / 0.5757 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.3188, allocations: 20.12 kB / 0.5758 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.319, allocations: 31.95 kB / 0.5758 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.3192, allocations: 51.89 kB / 0.5758 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.3192, allocations: 8 kB / 0.5759 GB, free: 5.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.3193, allocations: 160.1 kB / 0.576 GB, free: 5.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3193, allocations: 0 / 0.576 GB, free: 5.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003739/0.3197, allocations: 71.94 kB / 0.5761 GB, free: 5.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/0.321, allocations: 385.2 kB / 0.5764 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007593/0.3218, allocations: 295.6 kB / 0.5767 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3218, allocations: 0 / 0.5767 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.3221, allocations: 147.9 kB / 0.5769 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3225, allocations: 35.84 kB / 0.5769 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.3245, allocations: 0.8107 MB / 0.5777 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.3249, allocations: 0.7564 MB / 0.5784 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.325, allocations: 23.44 kB / 0.5785 GB, free: 3.062 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.325, allocations: 0 / 0.5785 GB, free: 3.062 MB / 414.1 MB Notification: Performance of Templates: time 0.007817/0.3328, allocations: 4.52 MB / 0.5829 GB, free: 14.54 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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: 8.140803366200998]