Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001798/0.001798, allocations: 76.38 kB / 19.93 MB, free: 1.781 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.002721/0.002721, allocations: 162.1 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.161e-05, allocations: 2.281 kB / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004292/0.004323, allocations: 2.152 MB / 409.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.006012, allocations: 0.7485 MB / 410.2 MB, free: 116 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.006136, allocations: 4 kB / 410.2 MB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.006359, allocations: 35.59 kB / 410.3 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.006527, allocations: 71.41 kB / 410.4 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.007068, allocations: 143.6 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.007524, allocations: 343.2 kB / 410.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.007752, allocations: 64.56 kB / 410.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.008085, allocations: 195.6 kB / 411.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.00836, allocations: 131.6 kB / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.008419, allocations: 28 kB / 411.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.008606, allocations: 75.89 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.008733, allocations: 63.81 kB / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.00889, allocations: 99.73 kB / 411.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.009485, allocations: 366.9 kB / 411.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.009488, allocations: 0 / 411.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.009489, allocations: 0 / 411.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.009497, allocations: 3.938 kB / 411.8 MB, free: 14.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001106/0.0106, allocations: 493.5 kB / 412.3 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.01065, allocations: 8.031 kB / 412.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.01074, allocations: 32.75 kB / 412.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.01119, allocations: 199.5 kB / 412.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.01122, allocations: 12.88 kB / 412.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.01128, allocations: 28.36 kB / 412.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.01186, allocations: 260.6 kB / 412.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.01188, allocations: 8.141 kB / 412.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.01192, allocations: 8.375 kB / 412.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.01193, allocations: 11.94 kB / 412.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.01245, allocations: 233.9 kB / 413.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.01386, allocations: 0.5882 MB / 413.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.01443, allocations: 226.5 kB / 413.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.0147, allocations: 125.2 kB / 414 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.01473, allocations: 4 kB / 414 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.01476, allocations: 38.5 kB / 414.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.01477, allocations: 0 / 414.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.003574/0.01834, allocations: 1.221 MB / 415.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.01839, allocations: 59.41 kB / 415.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.01861, allocations: 191.1 kB / 415.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.01866, allocations: 37.64 kB / 415.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.01878, allocations: 140.8 kB / 415.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.01891, allocations: 111.1 kB / 415.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.01904, allocations: 61.69 kB / 415.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.01923, allocations: 330.8 kB / 416.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.01951, allocations: 124 kB / 416.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.01981, allocations: 163.4 kB / 416.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.02031, allocations: 259.2 kB / 416.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.02031, allocations: 0 / 416.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008642/0.02117, allocations: 429.7 kB / 417.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.02119, allocations: 8 kB / 417.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.0212, allocations: 0 / 417.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005277/0.02173, allocations: 240.7 kB / 417.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.02195, allocations: 55.95 kB / 417.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008837/0.02284, allocations: 0.7587 MB / 418.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.02309, allocations: 39.89 kB / 418.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.02312, allocations: 8 kB / 418.3 MB, free: 7.805 MB / 350.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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.02331, allocations: 145.8 kB / 418.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.02338, allocations: 19.86 kB / 418.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.429e-05/0.02347, allocations: 42.7 kB / 418.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.02347, allocations: 4 kB / 418.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.02348, allocations: 0 / 418.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.02349, allocations: 3.938 kB / 418.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.02513, allocations: 0.8347 MB / 419.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.02514, allocations: 3.938 kB / 419.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.02538, allocations: 51.89 kB / 419.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.02583, allocations: 224.6 kB / 419.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.02586, allocations: 11.98 kB / 419.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007741/0.02664, allocations: 0.7007 MB / 420.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.02664, allocations: 0 / 420.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.02789, allocations: 0.6422 MB / 420.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.02802, allocations: 51.84 kB / 421 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.02807, allocations: 8 kB / 421 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.02834, allocations: 36.02 kB / 421 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.02849, allocations: 47.91 kB / 421.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.02852, allocations: 12 kB / 421.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.02867, allocations: 132.2 kB / 421.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02867, allocations: 0 / 421.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.0291, allocations: 80.06 kB / 421.3 MB, free: 4.66 MB / 350.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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002904/0.02939, allocations: 131.1 kB / 421.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007891/0.03018, allocations: 307.9 kB / 421.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.03018, allocations: 0 / 421.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.03056, allocations: 151.8 kB / 421.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.03099, allocations: 36.14 kB / 421.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.0332, allocations: 0.6897 MB / 422.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.03337, allocations: 142.9 kB / 422.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.002e-05/0.03345, allocations: 17.95 kB / 422.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.03352, allocations: 20.5 kB / 422.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.03352, allocations: 0 / 422.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of Templates: time 0.00995/0.04347, allocations: 4.191 MB / 427 MB, free: 14.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.566129833459854]