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.001319/0.001319, allocations: 87.62 kB / 21.43 MB, free: 3.121 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.004364/0.004364, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.8235/0.8235, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 4.388e-06/4.388e-06, allocations: 4 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/2.075e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002462/0.002483, allocations: 2.221 MB / 300.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.003248, allocations: 0.6008 MB / 301.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.003356, allocations: 7.938 kB / 301.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.003476, allocations: 35.59 kB / 301.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.003592, allocations: 83.33 kB / 301.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.003766, allocations: 55.86 kB / 301.4 MB, free: 492 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.003963, allocations: 262.6 kB / 301.7 MB, free: 228 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.004101, allocations: 64.5 kB / 301.8 MB, free: 168 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.00426, allocations: 151.6 kB / 301.9 MB, free: 16 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1229/0.1271, allocations: 68.11 kB / 302 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.565e-05/0.1272, allocations: 19.34 kB / 302 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.455e-05/0.1273, allocations: 19.19 kB / 302 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.1273, allocations: 50.53 kB / 302.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.1274, allocations: 78.84 kB / 302.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1277, allocations: 250.6 kB / 302.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1277, allocations: 0 / 302.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1277, allocations: 2.406 kB / 302.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1277, allocations: 1.062 kB / 302.4 MB, free: 13.32 MB / 282.7 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.0004926/0.1282, allocations: 447.7 kB / 302.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1282, allocations: 14.36 kB / 302.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.1282, allocations: 56.58 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1283, allocations: 28.53 kB / 302.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1285, allocations: 180.3 kB / 303.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1285, allocations: 15.34 kB / 303.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1286, allocations: 22.86 kB / 303.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1288, allocations: 213.9 kB / 303.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1288, allocations: 4.297 kB / 303.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1288, allocations: 10.97 kB / 303.4 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1289, allocations: 9.594 kB / 303.4 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.129, allocations: 124.1 kB / 303.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.1296, allocations: 0.6322 MB / 304.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1298, allocations: 133 kB / 304.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.1299, allocations: 63.02 kB / 304.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1299, allocations: 4.938 kB / 304.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.1299, allocations: 36.83 kB / 304.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.1299, allocations: 0 / 304.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009409/0.1309, allocations: 0.7374 MB / 305.1 MB, free: 12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.1309, allocations: 54.84 kB / 305.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.131, allocations: 179.3 kB / 305.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.131, allocations: 28.77 kB / 305.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.131, allocations: 146 kB / 305.5 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1311, allocations: 89.94 kB / 305.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.1311, allocations: 51.12 kB / 305.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.393e-05/0.1312, allocations: 333.9 kB / 305.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-05/0.1312, allocations: 59.89 kB / 306 MB, free: 11.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.1313, allocations: 104.5 kB / 306.1 MB, free: 11.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1315, allocations: 163.2 kB / 306.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1315, allocations: 1.562 kB / 306.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002528/0.1317, allocations: 256 kB / 306.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1318, allocations: 5.719 kB / 306.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1318, allocations: 1.828 kB / 306.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000114/0.1319, allocations: 34.67 kB / 306.6 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.132, allocations: 53.5 kB / 306.6 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005869/0.1326, allocations: 1.376 MB / 308 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1327, allocations: 13.92 kB / 308 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1327, allocations: 6.562 kB / 308 MB, free: 9.676 MB / 282.7 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 7.055e-05/0.1327, allocations: 136.7 kB / 308.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.1328, allocations: 16.45 kB / 308.2 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.1328, allocations: 23.92 kB / 308.2 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1328, allocations: 3.094 kB / 308.2 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1328, allocations: 5.5 kB / 308.2 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1328, allocations: 5.344 kB / 308.2 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.1333, allocations: 0.603 MB / 308.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1333, allocations: 3.906 kB / 308.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1334, allocations: 41.3 kB / 308.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.759e-05/0.1335, allocations: 35.69 kB / 308.9 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1335, allocations: 11.95 kB / 308.9 MB, free: 9.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004897/0.134, allocations: 1.371 MB / 310.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.134, allocations: 0.6094 kB / 310.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.1343, allocations: 408 kB / 310.7 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.1343, allocations: 15.86 kB / 310.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1344, allocations: 9.859 kB / 310.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.1344, allocations: 4.531 kB / 310.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.1345, allocations: 20.81 kB / 310.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1345, allocations: 5.797 kB / 310.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.1345, allocations: 127.2 kB / 310.8 MB, free: 7.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1345, allocations: 1.188 kB / 310.8 MB, free: 7.383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.1347, allocations: 58.12 kB / 310.9 MB, free: 7.375 MB / 282.7 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.0004251/0.1352, allocations: 0.9432 MB / 311.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1355, allocations: 284.2 kB / 312.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1355, allocations: 0 / 312.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1356, allocations: 211.4 kB / 312.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.1359, allocations: 42.55 kB / 312.4 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.1377, allocations: 2.439 MB / 314.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.47e-05/0.1378, allocations: 145.9 kB / 314.9 MB, free: 4.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.567e-05/0.1378, allocations: 19.97 kB / 315 MB, free: 4.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.1379, allocations: 70 kB / 315 MB, free: 4.359 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1379, allocations: 4 kB / 315 MB, free: 4.355 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.157, allocations: 5.585 MB / 320.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.288, allocations: 7.766 kB / 320.6 MB, free: 2.859 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/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: 8.87976807821542]