Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007855/0.0007855, allocations: 93.02 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004657, allocations: 12 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.23, allocations: 47.58 MB / 375.2 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00339/0.2334, allocations: 2.03 MB / 377.2 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.2349, allocations: 0.6008 MB / 377.8 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.2351, allocations: 3.469 kB / 377.8 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.2353, allocations: 23.81 kB / 377.8 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.2356, allocations: 72.95 kB / 377.9 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.2359, allocations: 41.55 kB / 378 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.2364, allocations: 277.9 kB / 378.2 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.2367, allocations: 90.77 kB / 378.3 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.2369, allocations: 95.14 kB / 378.4 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.2371, allocations: 104.4 kB / 378.5 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.2372, allocations: 12.69 kB / 378.5 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.766e-05/0.2373, allocations: 13.38 kB / 378.5 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.2374, allocations: 38 kB / 378.6 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.2376, allocations: 152.9 kB / 378.7 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.2379, allocations: 207.6 kB / 378.9 MB, free: 42.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2379, allocations: 0 / 378.9 MB, free: 42.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2379, allocations: 0 / 378.9 MB, free: 42.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.2379, allocations: 1.156 kB / 378.9 MB, free: 42.62 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009705/0.2389, allocations: 0.5016 MB / 379.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.239, allocations: 9.75 kB / 379.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.486e-05/0.2391, allocations: 62.66 kB / 379.5 MB, free: 42.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/0.2392, allocations: 31 kB / 379.5 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.2395, allocations: 232.5 kB / 379.8 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.2396, allocations: 22.91 kB / 379.8 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.2396, allocations: 34.09 kB / 379.8 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.2404, allocations: 226.2 kB / 380 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.2404, allocations: 5.219 kB / 380 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.2404, allocations: 10.38 kB / 380.1 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.2405, allocations: 6.844 kB / 380.1 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.2411, allocations: 192.9 kB / 380.2 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.2428, allocations: 0.7698 MB / 381 MB, free: 40.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.2435, allocations: 228.5 kB / 381.2 MB, free: 40.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.2439, allocations: 111.6 kB / 381.3 MB, free: 40.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.244, allocations: 2.375 kB / 381.4 MB, free: 40.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.244, allocations: 44.64 kB / 381.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.244, allocations: 0 / 381.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.002485/0.2465, allocations: 0.9835 MB / 382.4 MB, free: 39.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2466, allocations: 58.17 kB / 382.4 MB, free: 39.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.2467, allocations: 158.3 kB / 382.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2468, allocations: 27.08 kB / 382.6 MB, free: 39.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.2468, allocations: 150.4 kB / 382.8 MB, free: 39.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.2469, allocations: 98.05 kB / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.247, allocations: 5.062 kB / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.247, allocations: 335.7 kB / 383.2 MB, free: 39.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.2474, allocations: 82.66 kB / 383.3 MB, free: 39.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.2477, allocations: 118.7 kB / 383.4 MB, free: 39.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.2484, allocations: 209.1 kB / 383.6 MB, free: 38.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2484, allocations: 0 / 383.6 MB, free: 38.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008298/0.2492, allocations: 278.3 kB / 383.9 MB, free: 38.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2493, allocations: 5.125 kB / 383.9 MB, free: 38.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2493, allocations: 0.9688 kB / 383.9 MB, free: 38.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2493, allocations: 2.562 kB / 383.9 MB, free: 38.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.2498, allocations: 80.61 kB / 384 MB, free: 38.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2499, allocations: 6.156 kB / 384 MB, free: 38.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.2501, allocations: 17.22 kB / 384 MB, free: 38.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.2501, allocations: 10.78 kB / 384 MB, free: 38.77 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.2503, allocations: 143.4 kB / 384.1 MB, free: 38.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.2504, allocations: 17.72 kB / 384.1 MB, free: 38.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-05/0.2505, allocations: 24.81 kB / 384.2 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2505, allocations: 11.31 kB / 384.2 MB, free: 38.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.2505, allocations: 1.156 kB / 384.2 MB, free: 38.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2505, allocations: 3.984 kB / 384.2 MB, free: 38.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.252, allocations: 0.6613 MB / 384.8 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.252, allocations: 0 / 384.8 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.2526, allocations: 74.83 kB / 384.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2526, allocations: 1.969 kB / 384.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.2526, allocations: 10.12 kB / 384.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.2527, allocations: 2.125 kB / 384.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.2527, allocations: 5.203 kB / 384.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.2538, allocations: 462.5 kB / 385.4 MB, free: 37.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.2539, allocations: 97.89 kB / 385.5 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.2539, allocations: 11.22 kB / 385.5 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.2542, allocations: 15.86 kB / 385.5 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.2543, allocations: 11.92 kB / 385.5 MB, free: 37.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.2543, allocations: 10.44 kB / 385.5 MB, free: 37.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2545, allocations: 116.2 kB / 385.6 MB, free: 37.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2545, allocations: 0 / 385.6 MB, free: 37.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005548/0.255, allocations: 57.81 kB / 385.7 MB, free: 37.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/0.2563, allocations: 0.9912 MB / 386.7 MB, free: 36.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.257, allocations: 212.2 kB / 386.9 MB, free: 36.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.257, allocations: 0 / 386.9 MB, free: 36.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.2574, allocations: 111.8 kB / 387 MB, free: 36.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.2581, allocations: 40.28 kB / 387 MB, free: 36.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.2617, allocations: 1.79 MB / 388.8 MB, free: 34.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.2619, allocations: 0.7522 MB / 389.6 MB, free: 33.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.2621, allocations: 75.41 kB / 389.7 MB, free: 33.64 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.2621, allocations: 0 / 389.7 MB, free: 33.64 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.546/2.808, allocations: 3.432 MB / 393.1 MB, free: 30.2 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches