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.001465/0.001465, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001669/0.001669, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.425/1.425, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.001894/0.001894, allocations: 63.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1053, allocations: 53.32 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004111/0.1094, allocations: 2.383 MB / 429 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1107, allocations: 0.6427 MB / 429.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.1108, allocations: 8 kB / 429.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.111, allocations: 31.59 kB / 429.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1112, allocations: 83.33 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1114, allocations: 67.84 kB / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.1118, allocations: 270.7 kB / 430.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.112, allocations: 78.75 kB / 430.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1122, allocations: 119.6 kB / 430.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1124, allocations: 115.4 kB / 430.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1124, allocations: 20 kB / 430.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.1125, allocations: 24 kB / 430.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.1125, allocations: 55.77 kB / 430.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1126, allocations: 119.4 kB / 430.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.113, allocations: 274.8 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.113, allocations: 0 / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.113, allocations: 0 / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.113, allocations: 11.94 kB / 430.9 MB, free: 0.6875 MB / 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.0008078/0.1138, allocations: 0.5247 MB / 431.5 MB, free: 120 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1139, allocations: 8.031 kB / 431.5 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.438e-05/0.114, allocations: 62.73 kB / 431.5 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1141, allocations: 40.73 kB / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.1146, allocations: 244.7 kB / 431.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.1146, allocations: 12.81 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.1146, allocations: 28.33 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.115, allocations: 203.3 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.115, allocations: 0 / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.115, allocations: 12 kB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.115, allocations: 4 kB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.1153, allocations: 137.7 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.1163, allocations: 0.627 MB / 432.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.1166, allocations: 170.4 kB / 433 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.1168, allocations: 92.81 kB / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1168, allocations: 4 kB / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1168, allocations: 38.56 kB / 433.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.1168, allocations: 0 / 433.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001991/0.1188, allocations: 1.074 MB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.1189, allocations: 59.34 kB / 434.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1191, allocations: 182.3 kB / 434.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1191, allocations: 29.7 kB / 434.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1192, allocations: 144.8 kB / 434.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.1193, allocations: 115 kB / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/0.1194, allocations: 53.7 kB / 434.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1195, allocations: 334.8 kB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1197, allocations: 71.97 kB / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.1199, allocations: 98.81 kB / 435.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.1202, allocations: 196.1 kB / 435.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1202, allocations: 4 kB / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000536/0.1207, allocations: 291.2 kB / 435.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1208, allocations: 4 kB / 435.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1208, allocations: 4 kB / 435.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.1209, allocations: 40.83 kB / 435.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.1212, allocations: 55.91 kB / 435.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.1229, allocations: 1.752 MB / 437.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.123, allocations: 11.98 kB / 437.6 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.123, allocations: 8 kB / 437.6 MB, free: 9.531 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.0001445/0.1232, allocations: 137.8 kB / 437.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.1232, allocations: 27.8 kB / 437.8 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.1233, allocations: 38.58 kB / 437.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1233, allocations: 4 kB / 437.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1233, allocations: 4.062 kB / 437.8 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1233, allocations: 0 / 437.8 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.1244, allocations: 0.7698 MB / 438.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.1245, allocations: 12.08 kB / 438.6 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.1247, allocations: 59.91 kB / 438.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.1248, allocations: 32.83 kB / 438.7 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1248, allocations: 8 kB / 438.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.1261, allocations: 1.493 MB / 440.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1261, allocations: 0 / 440.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.1268, allocations: 482.7 kB / 440.7 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.1269, allocations: 101 kB / 440.8 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.127, allocations: 11.94 kB / 440.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1271, allocations: 8 kB / 440.8 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.1271, allocations: 31.97 kB / 440.8 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1272, allocations: 4 kB / 440.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.1273, allocations: 140.3 kB / 441 MB, free: 5.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1273, allocations: 0 / 441 MB, free: 5.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.1276, allocations: 67.94 kB / 441 MB, free: 5.836 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.001029/0.1287, allocations: 1.02 MB / 442 MB, free: 4.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006006/0.1293, allocations: 330.4 kB / 442.4 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1293, allocations: 0 / 442.4 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.1296, allocations: 230.5 kB / 442.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.13, allocations: 46.2 kB / 442.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.1336, allocations: 2.771 MB / 445.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.134, allocations: 0.7601 MB / 446.2 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.296e-05/0.1341, allocations: 26.28 kB / 446.2 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1342, allocations: 75.41 kB / 446.3 MB, free: 404 kB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1342, allocations: 0 / 446.3 MB, free: 404 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2046/0.3389, allocations: 5.313 MB / 451.6 MB, free: 24.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.9/10.24, allocations: 1.344 kB / 451.6 MB, free: 24.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.722591745201498]