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.0008134/0.0008135, allocations: 96.67 kB / 17.36 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009539/0.000954, allocations: 204 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 227.7 MB / 246.8 MB, free: 9.676 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002076/0.0002077, allocations: 8 kB / 307.8 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08061/0.08083, allocations: 51.53 MB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002293/0.08315, allocations: 2.122 MB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.08423, allocations: 0.6467 MB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.08437, allocations: 7.938 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.08451, allocations: 31.77 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.08465, allocations: 59.48 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.08489, allocations: 67.92 kB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.08517, allocations: 238.9 kB / 362.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.08536, allocations: 89.89 kB / 362.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.08554, allocations: 87.64 kB / 362.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.08568, allocations: 99.48 kB / 362.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.08572, allocations: 12 kB / 362.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.325e-05/0.08579, allocations: 12 kB / 362.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.08582, allocations: 35.84 kB / 362.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.08593, allocations: 137.1 kB / 363 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.08617, allocations: 239.2 kB / 363.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.08618, allocations: 4 kB / 363.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.08619, allocations: 4 kB / 363.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.0862, allocations: 0 / 363.2 MB, free: 9.09 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.0006436/0.08685, allocations: 499.1 kB / 363.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.0869, allocations: 12.03 kB / 363.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.08696, allocations: 54.73 kB / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.08718, allocations: 48.55 kB / 363.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.08742, allocations: 247.9 kB / 364.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.08744, allocations: 12.81 kB / 364.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.08748, allocations: 20.38 kB / 364.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.08787, allocations: 229 kB / 364.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.0879, allocations: 3.906 kB / 364.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.08792, allocations: 12 kB / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.08793, allocations: 4 kB / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.08825, allocations: 151.9 kB / 364.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.08934, allocations: 0.7988 MB / 365.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.08972, allocations: 208.9 kB / 365.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.08995, allocations: 109.7 kB / 365.6 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.08997, allocations: 192 / 365.6 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.09001, allocations: 50.44 kB / 365.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.002e-06/0.09002, allocations: 0 / 365.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001595/0.09162, allocations: 0.8802 MB / 366.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.09169, allocations: 81.11 kB / 366.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.09189, allocations: 182.6 kB / 366.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.09193, allocations: 29.7 kB / 366.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.09204, allocations: 152.3 kB / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.09212, allocations: 86.66 kB / 367.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.09217, allocations: 29.7 kB / 367.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.09231, allocations: 330.8 kB / 367.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.09247, allocations: 67.97 kB / 367.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.09265, allocations: 116.2 kB / 367.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.09299, allocations: 204.1 kB / 367.8 MB, free: 4.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.093, allocations: 3.938 kB / 367.8 MB, free: 4.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000423/0.09343, allocations: 247.5 kB / 368 MB, free: 3.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.09345, allocations: 4.094 kB / 368 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.09347, allocations: 4 kB / 368 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.09348, allocations: 4 kB / 368 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.09372, allocations: 63.89 kB / 368.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.09374, allocations: 4 kB / 368.1 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.09385, allocations: 15.94 kB / 368.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.09387, allocations: 12 kB / 368.1 MB, free: 3.793 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.0001236/0.094, allocations: 146.8 kB / 368.3 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.09406, allocations: 23.72 kB / 368.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.09413, allocations: 29.86 kB / 368.3 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.09414, allocations: 4 kB / 368.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.09415, allocations: 0 / 368.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.09416, allocations: 0 / 368.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.09492, allocations: 0.5927 MB / 368.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.09493, allocations: 0 / 368.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.09518, allocations: 59.97 kB / 369 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.0952, allocations: 7.938 kB / 369 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.09522, allocations: 11.98 kB / 369 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.09523, allocations: 15.91 kB / 369 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.09524, allocations: 4.391 kB / 369 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.09585, allocations: 497.6 kB / 369.5 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.09591, allocations: 96.83 kB / 369.6 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.09595, allocations: 11.94 kB / 369.6 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.09611, allocations: 15.97 kB / 369.6 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.09616, allocations: 16.08 kB / 369.6 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.09619, allocations: 19.97 kB / 369.7 MB, free: 2.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.703e-05/0.09629, allocations: 132.9 kB / 369.8 MB, free: 2.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09629, allocations: 0 / 369.8 MB, free: 2.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.09661, allocations: 52 kB / 369.8 MB, free: 1.961 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.0008343/0.09745, allocations: 1.043 MB / 370.9 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.0978, allocations: 183.8 kB / 371.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.09781, allocations: 0 / 371.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.09799, allocations: 104.2 kB / 371.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.09847, allocations: 35.97 kB / 371.2 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1377/0.2362, allocations: 2.83 MB / 374 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.2364, allocations: 0.7462 MB / 374.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.99e-05/0.2365, allocations: 22.69 kB / 374.8 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.2366, allocations: 69.05 kB / 374.9 MB, free: 16.36 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2366, allocations: 0.9062 kB / 374.9 MB, free: 16.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.2499, allocations: 4.054 MB / 378.9 MB, free: 16.15 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/0.2501, allocations: 206.3 kB / 379.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/1.886, allocations: 0 / 379.1 MB, free: 15.89 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