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.001822/0.001822, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002085/0.002085, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.391/1.391, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.001786/0.001786, allocations: 62.52 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2657, allocations: 49.15 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003496/0.2692, allocations: 2.365 MB / 398.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2702, allocations: 0.6425 MB / 399.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.2704, allocations: 11.81 kB / 399.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.2706, allocations: 32.56 kB / 399.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.2707, allocations: 69.44 kB / 399.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.2709, allocations: 59.62 kB / 399.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.2712, allocations: 256.7 kB / 399.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.2714, allocations: 74.38 kB / 399.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.2715, allocations: 99.28 kB / 399.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.2717, allocations: 110.7 kB / 400.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.2717, allocations: 19.25 kB / 400.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.698e-05/0.2718, allocations: 18.34 kB / 400.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.2718, allocations: 45.72 kB / 400.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.2719, allocations: 118.3 kB / 400.2 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.2722, allocations: 242.9 kB / 400.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2722, allocations: 5.25 kB / 400.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2722, allocations: 0 / 400.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2722, allocations: 0 / 400.5 MB, free: 6.32 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.0005972/0.2728, allocations: 449 kB / 400.9 MB, free: 5.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2729, allocations: 12.8 kB / 400.9 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.2729, allocations: 59.05 kB / 401 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.2729, allocations: 25.3 kB / 401 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.2732, allocations: 184.8 kB / 401.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.2732, allocations: 17.19 kB / 401.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.2733, allocations: 26.73 kB / 401.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.2736, allocations: 211.8 kB / 401.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.2736, allocations: 5.109 kB / 401.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2736, allocations: 5.25 kB / 401.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2736, allocations: 6.156 kB / 401.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.2739, allocations: 134.9 kB / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.2748, allocations: 0.6629 MB / 402.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.2751, allocations: 137.8 kB / 402.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.2752, allocations: 68.8 kB / 402.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.2752, allocations: 1.812 kB / 402.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.2752, allocations: 36.72 kB / 402.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.233e-06/0.2752, allocations: 0 / 402.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001399/0.2766, allocations: 0.7351 MB / 403.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.2767, allocations: 54.47 kB / 403.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2768, allocations: 179.3 kB / 403.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.2768, allocations: 26.73 kB / 403.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.2769, allocations: 147.2 kB / 403.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.2769, allocations: 93.48 kB / 403.7 MB, free: 4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.277, allocations: 50.45 kB / 403.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.277, allocations: 329.4 kB / 404.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.2772, allocations: 53.75 kB / 404.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2773, allocations: 104 kB / 404.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.2775, allocations: 168.2 kB / 404.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2775, allocations: 0 / 404.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003842/0.2779, allocations: 253.5 kB / 404.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2779, allocations: 9.219 kB / 404.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2779, allocations: 1.5 kB / 404.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.2781, allocations: 38.16 kB / 404.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.2783, allocations: 49.89 kB / 404.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008667/0.2791, allocations: 1.379 MB / 406.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.2793, allocations: 8.75 kB / 406.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2793, allocations: 7.781 kB / 406.2 MB, free: 1.973 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 0.0001063/0.2794, allocations: 140.2 kB / 406.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.2795, allocations: 20.86 kB / 406.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.2795, allocations: 32.5 kB / 406.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2795, allocations: 6 kB / 406.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2795, allocations: 0.9062 kB / 406.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2795, allocations: 1.547 kB / 406.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007835/0.2803, allocations: 0.6176 MB / 407 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2803, allocations: 1.125 kB / 407 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.2805, allocations: 47.78 kB / 407 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.2806, allocations: 35.56 kB / 407.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.2806, allocations: 5.391 kB / 407.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007886/0.2814, allocations: 1.382 MB / 408.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2814, allocations: 0 / 408.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.282, allocations: 407.7 kB / 408.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.2821, allocations: 20.28 kB / 408.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2821, allocations: 5.375 kB / 408.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2822, allocations: 5.391 kB / 408.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.2823, allocations: 26.16 kB / 408.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2823, allocations: 10.34 kB / 408.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.2824, allocations: 129.5 kB / 409 MB, free: 15.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2824, allocations: 0 / 409 MB, free: 15.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.2827, allocations: 57.5 kB / 409.1 MB, free: 15.59 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.0009151/0.2836, allocations: 0.9371 MB / 410 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005606/0.2842, allocations: 290.5 kB / 410.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2842, allocations: 0 / 410.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.2845, allocations: 205.3 kB / 410.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.2849, allocations: 47.14 kB / 410.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.2884, allocations: 2.543 MB / 413.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.2888, allocations: 0.7419 MB / 413.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.197e-05/0.2889, allocations: 21.94 kB / 413.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.289, allocations: 69 kB / 413.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of SimCode: time 8.21e-07/0.289, allocations: 3.938 kB / 413.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.3247, allocations: 4.967 MB / 418.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.03, allocations: 9 kB / 418.9 MB, free: 9.633 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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.490546779998112]