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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 111.2 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.526/1.526, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3261/0.3261, allocations: 44.22 MB / 326.5 MB, free: 7.219 MB / 254.1 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 79.86 kB / 462.2 MB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2521, allocations: 60.98 MB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002999/0.2551, allocations: 2.271 MB / 0.5131 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2562, allocations: 0.7753 MB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.2564, allocations: 8.312 kB / 0.5139 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.2566, allocations: 37.09 kB / 0.5139 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.2567, allocations: 68.44 kB / 0.514 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.2571, allocations: 134.5 kB / 0.5141 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.2574, allocations: 327.2 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.2576, allocations: 62.75 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.2577, allocations: 146.9 kB / 0.5146 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.2579, allocations: 166 kB / 0.5148 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.258, allocations: 26.28 kB / 0.5148 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2581, allocations: 76.88 kB / 0.5149 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.2582, allocations: 61.44 kB / 0.5149 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2583, allocations: 136.5 kB / 0.5151 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.2586, allocations: 337.5 kB / 0.5154 GB, free: 9.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2586, allocations: 0 / 0.5154 GB, free: 9.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2587, allocations: 0 / 0.5154 GB, free: 9.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2587, allocations: 3.938 kB / 0.5154 GB, free: 9.844 MB / 382.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.0007936/0.2595, allocations: 0.5613 MB / 0.5159 GB, free: 9.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2595, allocations: 13.48 kB / 0.5159 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/0.2595, allocations: 57.61 kB / 0.516 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.2596, allocations: 26.55 kB / 0.516 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.2599, allocations: 239.4 kB / 0.5162 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.2599, allocations: 18.44 kB / 0.5163 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.26, allocations: 31.45 kB / 0.5163 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.2604, allocations: 269.5 kB / 0.5166 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.2605, allocations: 4 kB / 0.5166 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.2605, allocations: 6.969 kB / 0.5166 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2605, allocations: 4.562 kB / 0.5166 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.2609, allocations: 241.5 kB / 0.5168 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.2621, allocations: 0.7268 MB / 0.5175 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.2625, allocations: 222.5 kB / 0.5177 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.2627, allocations: 141.7 kB / 0.5179 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.2627, allocations: 4.062 kB / 0.5179 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.2628, allocations: 42.44 kB / 0.5179 GB, free: 7.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.834e-06/0.2628, allocations: 0 / 0.5179 GB, free: 7.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002574/0.2653, allocations: 1.454 MB / 0.5193 GB, free: 6.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.2654, allocations: 55.41 kB / 0.5194 GB, free: 6.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2655, allocations: 202.7 kB / 0.5196 GB, free: 5.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2655, allocations: 29.7 kB / 0.5196 GB, free: 5.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.2656, allocations: 136.9 kB / 0.5197 GB, free: 5.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.2656, allocations: 119 kB / 0.5198 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.2657, allocations: 61.69 kB / 0.5199 GB, free: 5.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.2658, allocations: 338.8 kB / 0.5202 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.266, allocations: 127.9 kB / 0.5203 GB, free: 5.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.2662, allocations: 171 kB / 0.5205 GB, free: 4.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.2666, allocations: 251.3 kB / 0.5207 GB, free: 4.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2666, allocations: 4 kB / 0.5207 GB, free: 4.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00064/0.2672, allocations: 417.9 kB / 0.5211 GB, free: 4.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2672, allocations: 8 kB / 0.5212 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2672, allocations: 0 / 0.5212 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004508/0.2677, allocations: 240.7 kB / 0.5214 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2679, allocations: 55.91 kB / 0.5214 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005726/0.2685, allocations: 0.7559 MB / 0.5222 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.2687, allocations: 39.98 kB / 0.5222 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.2688, allocations: 11.98 kB / 0.5222 GB, free: 3.016 MB / 382.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.0001306/0.2689, allocations: 155 kB / 0.5224 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.2689, allocations: 23.8 kB / 0.5224 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.269, allocations: 38.64 kB / 0.5224 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.269, allocations: 4 kB / 0.5224 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.269, allocations: 0 / 0.5224 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.269, allocations: 0 / 0.5224 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.2703, allocations: 0.9402 MB / 0.5234 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2703, allocations: 0 / 0.5234 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.2705, allocations: 47.97 kB / 0.5234 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/0.2709, allocations: 220.6 kB / 0.5236 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.2709, allocations: 11.98 kB / 0.5236 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004541/0.2713, allocations: 0.7239 MB / 0.5243 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2713, allocations: 0 / 0.5243 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009036/0.2723, allocations: 0.6457 MB / 0.525 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.2724, allocations: 125 kB / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.2725, allocations: 11.94 kB / 0.5251 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.2727, allocations: 35.95 kB / 0.5251 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2729, allocations: 47.98 kB / 0.5252 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.2729, allocations: 15.98 kB / 0.5252 GB, free: 15.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.273, allocations: 156 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.273, allocations: 0 / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.2734, allocations: 76 kB / 0.5254 GB, free: 15.61 MB / 398.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.001636/0.2751, allocations: 1.204 MB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.2759, allocations: 307.7 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2759, allocations: 0 / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.2762, allocations: 147.8 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.2767, allocations: 32.23 kB / 0.527 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.2821, allocations: 3.097 MB / 0.5301 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.2825, allocations: 0.7486 MB / 0.5308 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.2826, allocations: 22.3 kB / 0.5308 GB, free: 9.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2828, allocations: 71.41 kB / 0.5309 GB, free: 9.816 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2828, allocations: 0 / 0.5309 GB, free: 9.816 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.3192, allocations: 7.621 MB / 0.5383 GB, free: 2.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.74, allocations: 11.98 kB / 0.5383 GB, free: 2.18 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.750817959662527]