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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001458/0.001458, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 71.81 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3001, allocations: 53.4 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002958/0.303, allocations: 1.522 MB / 432.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.304, allocations: 0.5103 MB / 433.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.304, allocations: 0 / 433.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.3041, allocations: 7.922 kB / 433.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.367e-05/0.3042, allocations: 19.8 kB / 433.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.3044, allocations: 39.89 kB / 433.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3045, allocations: 75.64 kB / 433.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.3046, allocations: 192 / 433.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.3048, allocations: 43.84 kB / 433.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.3048, allocations: 39.83 kB / 433.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3048, allocations: 4 kB / 433.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.485e-05/0.3049, allocations: 12 kB / 433.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.3049, allocations: 11.98 kB / 433.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.305, allocations: 27.81 kB / 433.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3051, allocations: 59.58 kB / 433.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3051, allocations: 4 kB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3051, allocations: 4 kB / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3051, allocations: 0 / 433.5 MB, free: 4.309 MB / 334.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.0005972/0.3057, allocations: 314.5 kB / 433.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3057, allocations: 8.031 kB / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.3058, allocations: 38.73 kB / 433.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.3061, allocations: 36.88 kB / 433.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.3063, allocations: 122.5 kB / 434.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3063, allocations: 4.375 kB / 434.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.3063, allocations: 384 / 434.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.3066, allocations: 96.08 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3066, allocations: 0 / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3066, allocations: 0 / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3066, allocations: 8 kB / 434.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.3069, allocations: 59.88 kB / 434.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.3071, allocations: 162.5 kB / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.3073, allocations: 99.75 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3075, allocations: 46.61 kB / 434.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3075, allocations: 15.92 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3075, allocations: 30.56 kB / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3075, allocations: 0 / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005076/0.3081, allocations: 149.7 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.3081, allocations: 102.8 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3082, allocations: 128 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3083, allocations: 29.7 kB / 435 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.3083, allocations: 88.14 kB / 435 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.3083, allocations: 15.91 kB / 435.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.3084, allocations: 21.64 kB / 435.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.3086, allocations: 326.8 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3087, allocations: 27.97 kB / 435.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.3089, allocations: 46.55 kB / 435.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3091, allocations: 86.45 kB / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3091, allocations: 8 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003114/0.3094, allocations: 113.5 kB / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3095, allocations: 4 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3095, allocations: 4 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3095, allocations: 0 / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3096, allocations: 23.97 kB / 435.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3096, allocations: 3.984 kB / 435.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.3e-05/0.3097, allocations: 11.98 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3097, allocations: 0 / 435.7 MB, free: 1.867 MB / 334.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.65e-05/0.3098, allocations: 121.8 kB / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.3098, allocations: 11.89 kB / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.3099, allocations: 19.91 kB / 435.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3099, allocations: 0 / 435.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3099, allocations: 4 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3099, allocations: 0 / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.31, allocations: 148.7 kB / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.31, allocations: 0 / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3102, allocations: 15.98 kB / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3102, allocations: 3.984 kB / 436 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3102, allocations: 4 kB / 436 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3102, allocations: 4 kB / 436.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3102, allocations: 0 / 436.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.3105, allocations: 150.6 kB / 436.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.3105, allocations: 15.89 kB / 436.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3105, allocations: 0 / 436.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.3106, allocations: 11.98 kB / 436.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3107, allocations: 7.984 kB / 436.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3107, allocations: 0 / 436.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.831e-05/0.3108, allocations: 105.8 kB / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3108, allocations: 0 / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001914/0.3109, allocations: 16 kB / 436.4 MB, free: 1.16 MB / 334.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.0006257/0.3116, allocations: 0.6804 MB / 437 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.3119, allocations: 75.86 kB / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3119, allocations: 0 / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.312, allocations: 36.28 kB / 437.1 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.3122, allocations: 8 kB / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3142, allocations: 1.458 MB / 438.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3145, allocations: 0.6924 MB / 439.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.3146, allocations: 4 kB / 439.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.3146, allocations: 19.42 kB / 439.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3146, allocations: 0 / 439.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.3473, allocations: 1.875 MB / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.94, allocations: 7.5 kB / 441.2 MB, free: 12.25 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.40820352290757]