Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001644/0.001644, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001984/0.001984, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.432/1.432, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 59.92 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2833, allocations: 49.17 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003086/0.2864, allocations: 2.363 MB / 398.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.2873, allocations: 0.6434 MB / 399.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2874, allocations: 7.219 kB / 399.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.2876, allocations: 32.58 kB / 399.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.2877, allocations: 78.83 kB / 399.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.2879, allocations: 50.34 kB / 399.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.2882, allocations: 256.5 kB / 399.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2884, allocations: 75 kB / 399.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.2885, allocations: 99.36 kB / 399.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2887, allocations: 114.5 kB / 400.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.2887, allocations: 19.44 kB / 400.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.2888, allocations: 18.06 kB / 400.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.2888, allocations: 41.17 kB / 400.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/0.2889, allocations: 123.5 kB / 400.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.2892, allocations: 244.7 kB / 400.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2892, allocations: 1.531 kB / 400.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2892, allocations: 0 / 400.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2892, allocations: 0 / 400.5 MB, free: 6.297 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006475/0.2899, allocations: 450.3 kB / 400.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2899, allocations: 12.61 kB / 400.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.29, allocations: 54.19 kB / 401 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.29, allocations: 29.55 kB / 401 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.2903, allocations: 185.7 kB / 401.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.2903, allocations: 18.22 kB / 401.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.2904, allocations: 25.62 kB / 401.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.2907, allocations: 211.6 kB / 401.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2907, allocations: 9.875 kB / 401.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.2907, allocations: 5.406 kB / 401.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2907, allocations: 9.781 kB / 401.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.291, allocations: 125.5 kB / 401.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.2918, allocations: 0.6676 MB / 402.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.2921, allocations: 142.2 kB / 402.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.2922, allocations: 64.64 kB / 402.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2922, allocations: 1.625 kB / 402.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2922, allocations: 33.22 kB / 402.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.2922, allocations: 0 / 402.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001309/0.2935, allocations: 0.7437 MB / 403.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.2936, allocations: 54.16 kB / 403.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2937, allocations: 171.2 kB / 403.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.2937, allocations: 30.98 kB / 403.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.2938, allocations: 142.8 kB / 403.6 MB, free: 4.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.2938, allocations: 93.14 kB / 403.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.2939, allocations: 45.83 kB / 403.8 MB, free: 3.945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.2939, allocations: 333.3 kB / 404.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.294, allocations: 58.59 kB / 404.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2942, allocations: 93.22 kB / 404.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.2944, allocations: 173.4 kB / 404.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2944, allocations: 0 / 404.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003708/0.2948, allocations: 255.7 kB / 404.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2948, allocations: 4.969 kB / 404.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2948, allocations: 1.094 kB / 404.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.2949, allocations: 31.53 kB / 404.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.2951, allocations: 54.02 kB / 404.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008176/0.2959, allocations: 1.382 MB / 406.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.296, allocations: 8.375 kB / 406.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2961, allocations: 14.08 kB / 406.2 MB, free: 1.949 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.723e-05/0.2961, allocations: 138.5 kB / 406.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.2962, allocations: 21.73 kB / 406.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.2962, allocations: 29.78 kB / 406.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2962, allocations: 5.469 kB / 406.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2962, allocations: 1.531 kB / 406.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2963, allocations: 0 / 406.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007465/0.297, allocations: 0.6168 MB / 407 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.297, allocations: 1.125 kB / 407 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.2972, allocations: 48.81 kB / 407 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.2973, allocations: 38.45 kB / 407.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2973, allocations: 10.53 kB / 407.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007602/0.2981, allocations: 1.375 MB / 408.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2981, allocations: 5.688 kB / 408.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.2986, allocations: 403.5 kB / 408.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.2987, allocations: 19.27 kB / 408.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.2987, allocations: 7.297 kB / 408.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.2988, allocations: 11.41 kB / 408.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.2989, allocations: 20.19 kB / 408.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2989, allocations: 10.16 kB / 408.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.299, allocations: 128.6 kB / 409 MB, free: 15.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.299, allocations: 0 / 409 MB, free: 15.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00031/0.2993, allocations: 58.88 kB / 409.1 MB, free: 15.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009086/0.3002, allocations: 0.9313 MB / 410 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.3008, allocations: 294.2 kB / 410.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3008, allocations: 0 / 410.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.3011, allocations: 201 kB / 410.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3015, allocations: 42.12 kB / 410.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.3048, allocations: 2.547 MB / 413.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.3052, allocations: 0.7499 MB / 413.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.195e-05/0.3053, allocations: 22.81 kB / 413.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3054, allocations: 63.83 kB / 413.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3054, allocations: 0 / 413.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.3436, allocations: 4.972 MB / 418.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.95, allocations: 10.14 kB / 418.9 MB, free: 9.605 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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: 14.267873056931421]