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.001315/0.001315, allocations: 106.8 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001516/0.001516, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 60.56 kB / 306.6 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09495, allocations: 50.53 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00411/0.09911, allocations: 2.484 MB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1004, allocations: 0.6506 MB / 360.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.1006, allocations: 7.938 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1009, allocations: 31.77 kB / 360.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.1011, allocations: 51.55 kB / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1014, allocations: 71.86 kB / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.1018, allocations: 254.9 kB / 360.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.102, allocations: 105.3 kB / 360.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.1022, allocations: 95.66 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.1024, allocations: 115.5 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1025, allocations: 20 kB / 361 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.421e-05/0.1025, allocations: 24 kB / 361 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.1026, allocations: 43.84 kB / 361 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.1027, allocations: 115.4 kB / 361.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.103, allocations: 263.3 kB / 361.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1031, allocations: 0 / 361.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1031, allocations: 3.938 kB / 361.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1031, allocations: 0 / 361.4 MB, free: 9.754 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.001003/0.1041, allocations: 0.5302 MB / 361.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1042, allocations: 8.031 kB / 361.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.81e-05/0.1043, allocations: 54.73 kB / 362 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.1046, allocations: 44.62 kB / 362 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1049, allocations: 235.9 kB / 362.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.1049, allocations: 16.81 kB / 362.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.105, allocations: 28.27 kB / 362.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.1055, allocations: 221 kB / 362.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1055, allocations: 0 / 362.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.1055, allocations: 11.94 kB / 362.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1055, allocations: 4 kB / 362.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.1059, allocations: 147.9 kB / 362.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1073, allocations: 0.791 MB / 363.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.1077, allocations: 201 kB / 363.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.108, allocations: 113.8 kB / 363.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.108, allocations: 4.125 kB / 363.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.108, allocations: 42.5 kB / 363.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.108, allocations: 0 / 363.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001488/0.1095, allocations: 0.8553 MB / 364.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1096, allocations: 81.11 kB / 364.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1098, allocations: 182.5 kB / 364.9 MB, free: 5.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1098, allocations: 41.64 kB / 365 MB, free: 5.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1099, allocations: 136.4 kB / 365.1 MB, free: 5.695 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.11, allocations: 94.64 kB / 365.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.1101, allocations: 53.69 kB / 365.3 MB, free: 5.543 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1102, allocations: 326.8 kB / 365.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.1104, allocations: 67.95 kB / 365.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.1106, allocations: 116.2 kB / 365.8 MB, free: 5.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.111, allocations: 182.6 kB / 365.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.111, allocations: 3.938 kB / 365.9 MB, free: 4.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004605/0.1114, allocations: 241.2 kB / 366.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1115, allocations: 4 kB / 366.2 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1115, allocations: 4 kB / 366.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1115, allocations: 3.938 kB / 366.2 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.1118, allocations: 59.97 kB / 366.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1118, allocations: 7.938 kB / 366.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.1119, allocations: 16.02 kB / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.1119, allocations: 12 kB / 366.3 MB, free: 4.477 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.0001197/0.1121, allocations: 143.3 kB / 366.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.1121, allocations: 23.72 kB / 366.4 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.1122, allocations: 29.86 kB / 366.5 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1122, allocations: 4 kB / 366.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1122, allocations: 0 / 366.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1122, allocations: 0 / 366.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007685/0.113, allocations: 0.5903 MB / 367.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.113, allocations: 3.938 kB / 367.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.1133, allocations: 59.91 kB / 367.1 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1133, allocations: 4 kB / 367.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1133, allocations: 12.09 kB / 367.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1133, allocations: 3.938 kB / 367.1 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1133, allocations: 4 kB / 367.2 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006547/0.114, allocations: 488 kB / 367.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.1141, allocations: 100.9 kB / 367.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.1141, allocations: 8 kB / 367.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.1143, allocations: 15.94 kB / 367.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.1143, allocations: 19.91 kB / 367.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1144, allocations: 8 kB / 367.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1145, allocations: 136.9 kB / 367.9 MB, free: 2.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1145, allocations: 4 kB / 367.9 MB, free: 2.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000336/0.1148, allocations: 52 kB / 368 MB, free: 2.672 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.0008671/0.1157, allocations: 1.034 MB / 369 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1161, allocations: 187.8 kB / 369.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1161, allocations: 0 / 369.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.1163, allocations: 92.22 kB / 369.3 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.1168, allocations: 43.27 kB / 369.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1408/0.2576, allocations: 2.717 MB / 372 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2579, allocations: 0.7465 MB / 372.8 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.258, allocations: 23.78 kB / 372.8 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.2581, allocations: 73.92 kB / 372.9 MB, free: 18 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2582, allocations: 0 / 372.9 MB, free: 18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.2758, allocations: 4.247 MB / 377.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.276, allocations: 199.2 kB / 377.3 MB, free: 17.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.124, allocations: 5.219 kB / 377.3 MB, free: 17.43 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