Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 63.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1131, allocations: 53.38 MB / 426.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004454/0.1176, allocations: 2.38 MB / 428.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.119, allocations: 0.6543 MB / 429.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.1192, allocations: 11.94 kB / 429.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.1194, allocations: 31.59 kB / 429.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1196, allocations: 87.33 kB / 429.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1199, allocations: 59.86 kB / 429.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.1202, allocations: 274.7 kB / 429.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1204, allocations: 78.75 kB / 429.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.1207, allocations: 115.6 kB / 430 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1209, allocations: 119.4 kB / 430.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.1209, allocations: 20 kB / 430.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.121, allocations: 28 kB / 430.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.121, allocations: 47.78 kB / 430.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1212, allocations: 127.4 kB / 430.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.1216, allocations: 270.8 kB / 430.6 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1216, allocations: 4 kB / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1216, allocations: 0 / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1216, allocations: 0 / 430.6 MB, free: 344 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008622/0.1224, allocations: 0.526 MB / 431.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.1225, allocations: 8.031 kB / 431.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.1226, allocations: 62.73 kB / 431.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.1227, allocations: 40.73 kB / 431.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.1231, allocations: 244.7 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1232, allocations: 12.81 kB / 431.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.1232, allocations: 28.33 kB / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.1236, allocations: 199.3 kB / 431.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1236, allocations: 3.984 kB / 431.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1236, allocations: 8 kB / 431.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1237, allocations: 12 kB / 431.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.124, allocations: 137.7 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.125, allocations: 0.6154 MB / 432.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1253, allocations: 178.4 kB / 432.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.1255, allocations: 96.8 kB / 432.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1255, allocations: 0 / 432.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1255, allocations: 38.56 kB / 432.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.1255, allocations: 0 / 432.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002156/0.1277, allocations: 1.074 MB / 433.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1277, allocations: 63.28 kB / 434 MB, free: 12.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.128, allocations: 182.3 kB / 434.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.128, allocations: 29.7 kB / 434.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1281, allocations: 144.8 kB / 434.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1282, allocations: 123 kB / 434.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1283, allocations: 53.7 kB / 434.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1285, allocations: 330.8 kB / 434.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1286, allocations: 67.97 kB / 434.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.1288, allocations: 102.8 kB / 435 MB, free: 11.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.1292, allocations: 200.7 kB / 435.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1292, allocations: 0 / 435.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005846/0.1298, allocations: 291.2 kB / 435.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1298, allocations: 4 kB / 435.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1298, allocations: 0 / 435.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.13, allocations: 48.89 kB / 435.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.1303, allocations: 55.91 kB / 435.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.1321, allocations: 1.736 MB / 437.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.1323, allocations: 16 kB / 437.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1323, allocations: 12 kB / 437.3 MB, free: 9.168 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.1325, allocations: 137.8 kB / 437.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.1325, allocations: 27.86 kB / 437.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.175e-05/0.1326, allocations: 34.64 kB / 437.5 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1326, allocations: 4 kB / 437.5 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1326, allocations: 0 / 437.5 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1326, allocations: 4 kB / 437.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.1338, allocations: 0.7737 MB / 438.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1338, allocations: 0 / 438.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.1342, allocations: 63.91 kB / 438.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.1343, allocations: 32.83 kB / 438.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1343, allocations: 8 kB / 438.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.1358, allocations: 1.493 MB / 439.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1358, allocations: 0 / 439.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.1366, allocations: 487 kB / 440.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.1367, allocations: 105 kB / 440.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.1367, allocations: 11.94 kB / 440.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.1369, allocations: 12 kB / 440.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.1369, allocations: 19.97 kB / 440.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1369, allocations: 12 kB / 440.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1371, allocations: 140.3 kB / 440.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1371, allocations: 0 / 440.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.1375, allocations: 67.94 kB / 440.7 MB, free: 5.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.001169/0.1387, allocations: 1.017 MB / 441.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.1394, allocations: 330.4 kB / 442.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1394, allocations: 4 kB / 442.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.1397, allocations: 230.5 kB / 442.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.1402, allocations: 48.22 kB / 442.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.1442, allocations: 2.759 MB / 445.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1447, allocations: 0.7562 MB / 445.9 MB, free: 140 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.1448, allocations: 22.28 kB / 445.9 MB, free: 120 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1449, allocations: 79.41 kB / 446 MB, free: 40 kB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1449, allocations: 0 / 446 MB, free: 40 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2181/0.363, allocations: 5.323 MB / 451.3 MB, free: 23.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.39, allocations: 4.703 kB / 451.3 MB, free: 23.88 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.886666981969029]