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.0008142/0.0008142, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0009115/0.0009115, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8249/0.8249, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1277/0.1277, allocations: 32.37 MB / 269.6 MB, free: 15.06 MB / 266.7 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.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: "" <> 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.758e-05, allocations: 10.22 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.00224/0.002258, allocations: 2.155 MB / 409 MB, free: 88 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008862/0.003144, allocations: 0.7411 MB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.003251, allocations: 7.938 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.003438, allocations: 39.59 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.859e-05/0.003537, allocations: 71.34 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.003909, allocations: 143.6 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.004155, allocations: 339.2 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.004307, allocations: 64.52 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.004503, allocations: 203.6 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.004656, allocations: 127.6 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.004691, allocations: 28 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.004795, allocations: 71.95 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.004864, allocations: 63.8 kB / 410.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.004934, allocations: 99.75 kB / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.005239, allocations: 366.9 kB / 411.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005241, allocations: 0 / 411.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005242, allocations: 0 / 411.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.005246, allocations: 0 / 411.3 MB, free: 13.74 MB / 394.7 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.0005638/0.00581, allocations: 493.6 kB / 411.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.005846, allocations: 11.97 kB / 411.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.005893, allocations: 62.72 kB / 411.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.005934, allocations: 32.69 kB / 411.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.006153, allocations: 182 kB / 412.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.006179, allocations: 24.88 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.006214, allocations: 24.33 kB / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.006535, allocations: 264.5 kB / 412.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.006551, allocations: 8.172 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.00657, allocations: 12.12 kB / 412.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.006576, allocations: 4 kB / 412.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.006861, allocations: 237.9 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000796/0.007657, allocations: 0.6267 MB / 413.3 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.008134, allocations: 230.4 kB / 413.5 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.008282, allocations: 132.8 kB / 413.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.008302, allocations: 0 / 413.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.008319, allocations: 38.5 kB / 413.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 9.32e-07/0.00832, allocations: 0 / 413.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.001757/0.01008, allocations: 1.232 MB / 414.9 MB, free: 9.977 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.01011, allocations: 59.39 kB / 414.9 MB, free: 9.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.01024, allocations: 198.5 kB / 415.1 MB, free: 9.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.01026, allocations: 37.7 kB / 415.2 MB, free: 9.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.01033, allocations: 136.8 kB / 415.3 MB, free: 9.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.01039, allocations: 119 kB / 415.4 MB, free: 9.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.01046, allocations: 65.69 kB / 415.5 MB, free: 9.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.01053, allocations: 334.8 kB / 415.8 MB, free: 8.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.01068, allocations: 119.9 kB / 415.9 MB, free: 8.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.01085, allocations: 171.2 kB / 416.1 MB, free: 8.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.01111, allocations: 247.2 kB / 416.3 MB, free: 8.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01111, allocations: 3.938 kB / 416.3 MB, free: 8.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004534/0.01156, allocations: 433.9 kB / 416.8 MB, free: 8.008 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01158, allocations: 11.28 kB / 416.8 MB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01158, allocations: 0 / 416.8 MB, free: 8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.0119, allocations: 236.7 kB / 417 MB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.01203, allocations: 55.91 kB / 417.1 MB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004737/0.01251, allocations: 0.7514 MB / 417.8 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.01262, allocations: 40.05 kB / 417.9 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01264, allocations: 15.98 kB / 417.9 MB, free: 6.879 MB / 394.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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.01275, allocations: 142.3 kB / 418 MB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01278, allocations: 23.81 kB / 418 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.01282, allocations: 38.64 kB / 418.1 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01283, allocations: 4 kB / 418.1 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01283, allocations: 3.938 kB / 418.1 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.01284, allocations: 0 / 418.1 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009049/0.01374, allocations: 0.8771 MB / 419 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.01374, allocations: 7.938 kB / 419 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.01386, allocations: 43.97 kB / 419 MB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.01411, allocations: 220.6 kB / 419.2 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.01413, allocations: 11.98 kB / 419.2 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003958/0.01452, allocations: 0.7163 MB / 419.9 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01453, allocations: 8 kB / 420 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.01534, allocations: 0.6459 MB / 420.6 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.01541, allocations: 47.84 kB / 420.6 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.01544, allocations: 8 kB / 420.7 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.01556, allocations: 40.02 kB / 420.7 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.01564, allocations: 55.78 kB / 420.7 MB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.01566, allocations: 11.98 kB / 420.8 MB, free: 3.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.199e-05/0.01574, allocations: 156 kB / 420.9 MB, free: 3.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01574, allocations: 0 / 420.9 MB, free: 3.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.01595, allocations: 72 kB / 421 MB, free: 3.641 MB / 394.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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009037/0.01686, allocations: 1.194 MB / 422.2 MB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.01729, allocations: 295.8 kB / 422.5 MB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0173, allocations: 0 / 422.5 MB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.01747, allocations: 151.8 kB / 422.6 MB, free: 1.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01772, allocations: 31.92 kB / 422.6 MB, free: 1.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.0206, allocations: 3.062 MB / 425.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.02069, allocations: 146.8 kB / 425.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.02074, allocations: 18.3 kB / 425.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.02082, allocations: 72.47 kB / 425.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02082, allocations: 96 / 425.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.04031, allocations: 7.467 MB / 433.4 MB, free: 7.023 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.526, allocations: 8 kB / 433.4 MB, free: 7.016 MB / 410.7 MB " [Timeout remaining time 652] (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/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: 9.479343910701573]