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.001673/0.001673, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.001325/0.001325, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.443/1.443, allocations: 207.6 MB / 231.8 MB, free: 4.055 MB / 174.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.001739/0.001739, allocations: 53.02 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09612, allocations: 49.13 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003874/0.1, allocations: 2.36 MB / 393.8 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1011, allocations: 0.6317 MB / 394.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1012, allocations: 15.88 kB / 394.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.1013, allocations: 31.66 kB / 394.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1015, allocations: 75.33 kB / 394.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1016, allocations: 47.94 kB / 394.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.1019, allocations: 258.8 kB / 394.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.1021, allocations: 68.34 kB / 394.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.1023, allocations: 99.64 kB / 395 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1024, allocations: 115.4 kB / 395.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.1025, allocations: 20 kB / 395.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.1025, allocations: 20 kB / 395.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.1025, allocations: 43.78 kB / 395.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1027, allocations: 119.4 kB / 395.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.103, allocations: 243 kB / 395.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.103, allocations: 0 / 395.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.103, allocations: 0 / 395.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.103, allocations: 3.984 kB / 395.5 MB, free: 4.566 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.0007775/0.1038, allocations: 0.5143 MB / 396 MB, free: 4.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1038, allocations: 12.03 kB / 396.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.874e-05/0.1039, allocations: 54.73 kB / 396.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.1039, allocations: 28.78 kB / 396.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1043, allocations: 237.6 kB / 396.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1043, allocations: 12.81 kB / 396.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.1043, allocations: 24.31 kB / 396.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.1047, allocations: 218 kB / 396.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1047, allocations: 7.891 kB / 396.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.1048, allocations: 19.97 kB / 396.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1048, allocations: 4 kB / 396.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.105, allocations: 125.7 kB / 396.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.1061, allocations: 0.6978 MB / 397.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.1064, allocations: 142.5 kB / 397.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1065, allocations: 64.83 kB / 397.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1066, allocations: 4 kB / 397.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.1066, allocations: 34.56 kB / 397.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.542e-06/0.1066, allocations: 4 kB / 397.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001704/0.1083, allocations: 0.8841 MB / 398.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1083, allocations: 55.41 kB / 398.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1085, allocations: 174.7 kB / 398.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1086, allocations: 33.7 kB / 398.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1087, allocations: 144.3 kB / 399 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.1087, allocations: 91.27 kB / 399.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.1088, allocations: 53.64 kB / 399.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.109, allocations: 326.8 kB / 399.5 MB, free: 312 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1091, allocations: 55.97 kB / 399.5 MB, free: 256 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.1093, allocations: 104.2 kB / 399.6 MB, free: 136 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.1096, allocations: 164.2 kB / 399.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1096, allocations: 4 kB / 399.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004737/0.11, allocations: 254 kB / 400 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1101, allocations: 8 kB / 400 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1101, allocations: 0 / 400 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.1102, allocations: 32.83 kB / 400.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1105, allocations: 56.03 kB / 400.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.1119, allocations: 1.485 MB / 401.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.112, allocations: 15.92 kB / 401.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1121, allocations: 8 kB / 401.6 MB, free: 13.95 MB / 334.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.0001404/0.1122, allocations: 137.7 kB / 401.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.1122, allocations: 19.86 kB / 401.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.1123, allocations: 33.8 kB / 401.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.1123, allocations: 7.938 kB / 401.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1123, allocations: 4.062 kB / 401.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1123, allocations: 0 / 401.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.1133, allocations: 0.6364 MB / 402.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1133, allocations: 4 kB / 402.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.1135, allocations: 47.91 kB / 402.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.1136, allocations: 36.91 kB / 402.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1136, allocations: 7.984 kB / 402.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.1149, allocations: 1.485 MB / 404 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1149, allocations: 0 / 404 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.1155, allocations: 414 kB / 404.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.1156, allocations: 92.97 kB / 404.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1156, allocations: 8 kB / 404.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1158, allocations: 8 kB / 404.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.1158, allocations: 19.95 kB / 404.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1158, allocations: 8 kB / 404.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1159, allocations: 136.8 kB / 404.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1159, allocations: 4 kB / 404.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1163, allocations: 56 kB / 404.8 MB, free: 10.53 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.0009959/0.1173, allocations: 0.9298 MB / 405.7 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005932/0.1179, allocations: 279.1 kB / 406 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1179, allocations: 0 / 406 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1182, allocations: 211.3 kB / 406.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1186, allocations: 50.56 kB / 406.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.122, allocations: 2.538 MB / 408.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.1224, allocations: 0.7559 MB / 409.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.715e-05/0.1225, allocations: 21.88 kB / 409.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1226, allocations: 67.41 kB / 409.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1226, allocations: 3.938 kB / 409.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03326/0.1559, allocations: 4.773 MB / 414.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.976/10.13, allocations: 15.81 kB / 414.4 MB, free: 0.6367 MB / 334.1 MB " [Timeout remaining time 650] (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: 12.594365811004536]