Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 116 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 194.9 kB / 21.4 MB, free: 1.688 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.394/1.394, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 59.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1023, allocations: 49.11 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004109/0.1064, allocations: 2.356 MB / 393.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1076, allocations: 0.6317 MB / 394.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1077, allocations: 7.938 kB / 394.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.1079, allocations: 39.64 kB / 394.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1081, allocations: 83.2 kB / 394.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1083, allocations: 59.92 kB / 394.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.1086, allocations: 266.7 kB / 394.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.1088, allocations: 78.75 kB / 394.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.109, allocations: 103.6 kB / 395 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.1092, allocations: 119.5 kB / 395.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.1092, allocations: 20 kB / 395.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.1093, allocations: 20 kB / 395.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.1093, allocations: 51.78 kB / 395.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1094, allocations: 123.4 kB / 395.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.1098, allocations: 262.9 kB / 395.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1098, allocations: 4 kB / 395.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1098, allocations: 0 / 395.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.1098, allocations: 0 / 395.6 MB, free: 4.512 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000818/0.1106, allocations: 0.526 MB / 396.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1107, allocations: 15.89 kB / 396.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.204e-05/0.1108, allocations: 54.73 kB / 396.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.1108, allocations: 32.75 kB / 396.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.1112, allocations: 241.7 kB / 396.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.1112, allocations: 16.81 kB / 396.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.1113, allocations: 24.33 kB / 396.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.1116, allocations: 199.4 kB / 396.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1117, allocations: 4 kB / 396.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.1117, allocations: 4 kB / 396.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1117, allocations: 7.938 kB / 396.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.112, allocations: 137.7 kB / 396.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.113, allocations: 0.6271 MB / 397.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.1133, allocations: 174.5 kB / 397.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1134, allocations: 96.69 kB / 397.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.1134, allocations: 11.98 kB / 397.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1135, allocations: 30.56 kB / 397.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.1135, allocations: 0 / 397.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001897/0.1154, allocations: 1.073 MB / 398.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1154, allocations: 59.34 kB / 398.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1156, allocations: 175.1 kB / 399 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1156, allocations: 29.7 kB / 399.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.1157, allocations: 140.9 kB / 399.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.1158, allocations: 122.9 kB / 399.3 MB, free: 456 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.1159, allocations: 57.7 kB / 399.4 MB, free: 392 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1161, allocations: 330.8 kB / 399.7 MB, free: 52 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1162, allocations: 71.97 kB / 399.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.1164, allocations: 102.8 kB / 399.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.1167, allocations: 199.5 kB / 400.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1167, allocations: 0 / 400.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005076/0.1172, allocations: 295.2 kB / 400.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1172, allocations: 4 kB / 400.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1172, allocations: 4 kB / 400.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.1174, allocations: 44.77 kB / 400.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.1177, allocations: 56.03 kB / 400.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.1193, allocations: 1.74 MB / 402.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1194, allocations: 11.98 kB / 402.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1194, allocations: 11.98 kB / 402.2 MB, free: 13.36 MB / 334.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.0001388/0.1195, allocations: 137.8 kB / 402.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.1196, allocations: 31.73 kB / 402.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.1196, allocations: 34.64 kB / 402.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1196, allocations: 4.062 kB / 402.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1196, allocations: 4.188 kB / 402.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1196, allocations: 0 / 402.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.1207, allocations: 0.7776 MB / 403.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1207, allocations: 0 / 403.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.121, allocations: 63.91 kB / 403.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.1211, allocations: 40.75 kB / 403.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.1211, allocations: 8 kB / 403.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.1224, allocations: 1.485 MB / 404.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1224, allocations: 0 / 404.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/0.1231, allocations: 486.5 kB / 405.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1232, allocations: 101 kB / 405.4 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.1232, allocations: 8 kB / 405.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1234, allocations: 8 kB / 405.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.1234, allocations: 19.97 kB / 405.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1234, allocations: 12 kB / 405.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1236, allocations: 135.2 kB / 405.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1236, allocations: 0 / 405.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.1239, allocations: 64 kB / 405.6 MB, free: 9.684 MB / 334.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.001104/0.125, allocations: 1.013 MB / 406.6 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005929/0.1256, allocations: 338.5 kB / 407 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1256, allocations: 0 / 407 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.1259, allocations: 230.8 kB / 407.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.1263, allocations: 63.69 kB / 407.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.1299, allocations: 2.751 MB / 410 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.1303, allocations: 0.76 MB / 410.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.006e-05/0.1304, allocations: 30.28 kB / 410.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.1305, allocations: 71.42 kB / 410.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1305, allocations: 0 / 410.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.1641, allocations: 5.293 MB / 416.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.819/9.983, allocations: 4.062 kB / 416.2 MB, free: 14.88 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_First_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_First.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.346490560099483]