Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00162/0.001628, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001957, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 61.28 kB / 307 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003781/0.1066, allocations: 2.435 MB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.108, allocations: 0.6544 MB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1082, allocations: 8 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1084, allocations: 35.58 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1086, allocations: 63.36 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.1089, allocations: 83.83 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.1093, allocations: 250.9 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1096, allocations: 101.2 kB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.1098, allocations: 115.6 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1099, allocations: 107.5 kB / 361.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.11, allocations: 20 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.11, allocations: 24 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.1101, allocations: 51.83 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.1102, allocations: 115.4 kB / 361.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.1104, allocations: 255.3 kB / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1105, allocations: 4 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1105, allocations: 0 / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1105, allocations: 0 / 361.9 MB, free: 9.672 MB / 302.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.0006975/0.1112, allocations: 0.5302 MB / 362.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1112, allocations: 8.031 kB / 362.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.1113, allocations: 58.72 kB / 362.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.1116, allocations: 40.64 kB / 362.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1118, allocations: 235.9 kB / 362.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1119, allocations: 20.81 kB / 362.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.1119, allocations: 24.28 kB / 362.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.1123, allocations: 225 kB / 363 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1123, allocations: 0 / 363 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1123, allocations: 8 kB / 363 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1123, allocations: 8 kB / 363 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.1126, allocations: 139.9 kB / 363.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1137, allocations: 0.791 MB / 364 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.1142, allocations: 204.9 kB / 364.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.1145, allocations: 105.7 kB / 364.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1145, allocations: 4.188 kB / 364.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1145, allocations: 46.44 kB / 364.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.1145, allocations: 0 / 364.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001581/0.1161, allocations: 0.8656 MB / 365.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1162, allocations: 77.11 kB / 365.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1164, allocations: 186.5 kB / 365.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1164, allocations: 33.7 kB / 365.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1165, allocations: 148.3 kB / 365.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.1167, allocations: 90.66 kB / 365.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.1168, allocations: 45.7 kB / 365.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1169, allocations: 330.8 kB / 366.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1171, allocations: 63.97 kB / 366.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1173, allocations: 116.2 kB / 366.2 MB, free: 4.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.1176, allocations: 190.5 kB / 366.4 MB, free: 4.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1176, allocations: 3.938 kB / 366.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003953/0.118, allocations: 245.2 kB / 366.7 MB, free: 4.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.118, allocations: 4 kB / 366.7 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.118, allocations: 0 / 366.7 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1181, allocations: 4 kB / 366.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.1183, allocations: 63.89 kB / 366.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1183, allocations: 0 / 366.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1184, allocations: 15.94 kB / 366.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1185, allocations: 12.09 kB / 366.8 MB, free: 4.395 MB / 302.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.1186, allocations: 146.8 kB / 366.9 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.1186, allocations: 27.7 kB / 366.9 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.1187, allocations: 25.88 kB / 367 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1187, allocations: 4 kB / 367 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1187, allocations: 0 / 367 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1187, allocations: 3.984 kB / 367 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.1197, allocations: 0.5825 MB / 367.5 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1197, allocations: 0 / 367.5 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.1199, allocations: 55.97 kB / 367.6 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.12, allocations: 4 kB / 367.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.12, allocations: 7.984 kB / 367.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.12, allocations: 15.97 kB / 367.6 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.12, allocations: 0 / 367.6 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.1206, allocations: 489.7 kB / 368.1 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.1207, allocations: 100.8 kB / 368.2 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.1208, allocations: 4 kB / 368.2 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1209, allocations: 19.97 kB / 368.2 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.121, allocations: 19.92 kB / 368.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.121, allocations: 15.92 kB / 368.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1212, allocations: 136.9 kB / 368.4 MB, free: 2.637 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1212, allocations: 0 / 368.4 MB, free: 2.637 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.1215, allocations: 52 kB / 368.5 MB, free: 2.586 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.1226, allocations: 1.034 MB / 369.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000415/0.123, allocations: 190.2 kB / 369.7 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.123, allocations: 0 / 369.7 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1232, allocations: 99.83 kB / 369.8 MB, free: 1.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.1237, allocations: 41.23 kB / 369.8 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1621/0.2859, allocations: 2.633 MB / 372.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.2862, allocations: 0.7451 MB / 373.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.2864, allocations: 22.03 kB / 373.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.2865, allocations: 73.27 kB / 373.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2865, allocations: 1.469 kB / 373.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4408/0.7273, allocations: 4.373 MB / 377.7 MB, free: 17.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.454, allocations: 5.219 kB / 377.7 MB, free: 17.65 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches