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.001832/0.001832, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002324/0.002324, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.507/1.507, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3716/0.3716, allocations: 34.26 MB / 295.3 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.489e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004351/0.004386, allocations: 2.287 MB / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.006089, allocations: 0.8529 MB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.006194, allocations: 7.938 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.006456, allocations: 51.56 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.006666, allocations: 83.33 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.007068, allocations: 155.5 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.007528, allocations: 359.1 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.007721, allocations: 57.12 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.008114, allocations: 215.5 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.008371, allocations: 127.7 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.008428, allocations: 28 kB / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.008608, allocations: 87.91 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.00876, allocations: 83.72 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.008899, allocations: 95.75 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.009504, allocations: 406.7 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009507, allocations: 0 / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009508, allocations: 0 / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.009514, allocations: 0 / 382.1 MB, free: 14.06 MB / 362.7 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.001062/0.01058, allocations: 0.509 MB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.01063, allocations: 12.03 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.01087, allocations: 52.73 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.01126, allocations: 206 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.01131, allocations: 16.88 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.01137, allocations: 24.38 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.01198, allocations: 272.5 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.012, allocations: 192 / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.01204, allocations: 16.38 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.01205, allocations: 7.938 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.01263, allocations: 229.9 kB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.01434, allocations: 0.5957 MB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.01495, allocations: 238.4 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.01523, allocations: 116.8 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.01526, allocations: 16.38 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.01529, allocations: 30.56 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.0153, allocations: 0 / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003457/0.01875, allocations: 1.197 MB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.01881, allocations: 59.41 kB / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.01905, allocations: 195 kB / 385.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.0191, allocations: 29.7 kB / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01922, allocations: 148.7 kB / 386.1 MB, free: 9.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.01934, allocations: 119.1 kB / 386.2 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.01949, allocations: 69.69 kB / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.01969, allocations: 326.8 kB / 386.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.01998, allocations: 123.9 kB / 386.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.02031, allocations: 155.4 kB / 386.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.02083, allocations: 248.7 kB / 387.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.02083, allocations: 0 / 387.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00101/0.02184, allocations: 433.8 kB / 387.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.02186, allocations: 14.17 kB / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.02187, allocations: 0 / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/0.02239, allocations: 192.8 kB / 387.7 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.02264, allocations: 51.91 kB / 387.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009524/0.02359, allocations: 0.7436 MB / 388.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.02385, allocations: 31.95 kB / 388.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.02389, allocations: 16 kB / 388.5 MB, free: 7.359 MB / 362.7 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.0001916/0.02408, allocations: 149.8 kB / 388.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.02417, allocations: 39.8 kB / 388.7 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.696e-05/0.02426, allocations: 26.66 kB / 388.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02426, allocations: 4 kB / 388.8 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.02427, allocations: 7.938 kB / 388.8 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.02428, allocations: 3.984 kB / 388.8 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.02607, allocations: 0.8348 MB / 389.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02607, allocations: 0 / 389.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.02631, allocations: 43.97 kB / 389.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/0.02673, allocations: 168.7 kB / 389.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.02676, allocations: 11.98 kB / 389.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008296/0.02759, allocations: 0.7045 MB / 390.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.0276, allocations: 3.938 kB / 390.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.02914, allocations: 0.6046 MB / 391.1 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.02927, allocations: 47.84 kB / 391.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.02934, allocations: 15.94 kB / 391.2 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.02962, allocations: 40.08 kB / 391.2 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.02976, allocations: 47.91 kB / 391.3 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.02979, allocations: 11.98 kB / 391.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001551/0.02994, allocations: 143.5 kB / 391.4 MB, free: 4.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02994, allocations: 0 / 391.4 MB, free: 4.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.03033, allocations: 68 kB / 391.5 MB, free: 4.289 MB / 362.7 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.00173/0.03206, allocations: 400.2 kB / 391.9 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007932/0.03285, allocations: 283.9 kB / 392.2 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03285, allocations: 0 / 392.2 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.03324, allocations: 151.7 kB / 392.3 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.03369, allocations: 56.14 kB / 392.4 MB, free: 3.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.03577, allocations: 0.7142 MB / 393.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.03596, allocations: 146.9 kB / 393.2 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.03606, allocations: 26.41 kB / 393.3 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.03615, allocations: 28.48 kB / 393.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03615, allocations: 0 / 393.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of Templates: time 0.01009/0.04624, allocations: 4.35 MB / 397.6 MB, free: 14.28 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/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: 5.008527278085239]