Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.4 MB, free: 9.133 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 68.11 kB / 306.5 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003031/0.1121, allocations: 1.568 MB / 358.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.1131, allocations: 0.491 MB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.1131, allocations: 4 kB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.1132, allocations: 0 / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.1133, allocations: 23.84 kB / 359.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1136, allocations: 35.89 kB / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1137, allocations: 63.73 kB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.1138, allocations: 12.16 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1139, allocations: 35.86 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.114, allocations: 35.83 kB / 359.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1141, allocations: 4 kB / 359.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-05/0.1141, allocations: 16 kB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.1141, allocations: 15.98 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.1142, allocations: 31.8 kB / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1143, allocations: 60.08 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1143, allocations: 0 / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1144, allocations: 0 / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1144, allocations: 0 / 359.5 MB, free: 11.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006348/0.115, allocations: 391.1 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1151, allocations: 12.03 kB / 359.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.1151, allocations: 34.75 kB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.1154, allocations: 36.75 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.1156, allocations: 192.1 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1156, allocations: 384 / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.1156, allocations: 384 / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.1159, allocations: 96.14 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1159, allocations: 4 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1159, allocations: 0 / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1159, allocations: 0 / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.1162, allocations: 59.88 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.1164, allocations: 191.5 kB / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.1167, allocations: 95.75 kB / 360.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1169, allocations: 54.61 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1169, allocations: 11.88 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1169, allocations: 42.48 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1169, allocations: 0 / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005202/0.1175, allocations: 141.5 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.1175, allocations: 106.8 kB / 360.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1176, allocations: 124.7 kB / 361 MB, free: 9.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1177, allocations: 25.7 kB / 361.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.1177, allocations: 96.5 kB / 361.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.1178, allocations: 11.91 kB / 361.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.1178, allocations: 17.7 kB / 361.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1179, allocations: 318.8 kB / 361.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1181, allocations: 35.89 kB / 361.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1182, allocations: 46.55 kB / 361.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.1185, allocations: 86.45 kB / 361.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1185, allocations: 0 / 361.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003295/0.1189, allocations: 117.4 kB / 361.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1189, allocations: 4 kB / 361.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1189, allocations: 0 / 361.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1189, allocations: 0 / 361.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1191, allocations: 27.92 kB / 361.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1191, allocations: 3.984 kB / 361.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.1192, allocations: 16.03 kB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1192, allocations: 3.984 kB / 361.8 MB, free: 9.047 MB / 302.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 (4): * Single equations (assignments): 4 * 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 9.716e-05/0.1193, allocations: 117.8 kB / 361.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1193, allocations: 11.84 kB / 361.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.1194, allocations: 15.83 kB / 362 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1194, allocations: 0 / 362 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1194, allocations: 7.984 kB / 362 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1194, allocations: 0 / 362 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1196, allocations: 181.6 kB / 362.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1196, allocations: 4 kB / 362.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1197, allocations: 15.98 kB / 362.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1197, allocations: 4 kB / 362.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1197, allocations: 3.984 kB / 362.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.1197, allocations: 0 / 362.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1197, allocations: 3.938 kB / 362.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.1201, allocations: 150.7 kB / 362.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.1201, allocations: 85.05 kB / 362.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1202, allocations: 4 kB / 362.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.1203, allocations: 7.984 kB / 362.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.1203, allocations: 7.984 kB / 362.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1204, allocations: 8 kB / 362.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.102e-05/0.1204, allocations: 103.2 kB / 362.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1204, allocations: 0 / 362.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.1206, allocations: 8 kB / 362.5 MB, free: 8.215 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0006204/0.1213, allocations: 0.6803 MB / 363.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.1216, allocations: 71.86 kB / 363.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1216, allocations: 8.188 kB / 363.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1218, allocations: 39.91 kB / 363.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.122, allocations: 3.938 kB / 363.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.1239, allocations: 1.473 MB / 364.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1242, allocations: 0.6846 MB / 365.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.1242, allocations: 8 kB / 365.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.1243, allocations: 23.42 kB / 365.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1243, allocations: 0 / 365.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/0.1661, allocations: 1.561 MB / 367.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.1664, allocations: 200 kB / 367.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.301, allocations: 0 / 367.3 MB, free: 3.34 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches