Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001305/0.001305, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001489/0.001489, allocations: 213.2 kB / 24.52 MB, free: 3.91 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.461/1.461, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3227, allocations: 53.4 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003148/0.3258, allocations: 1.506 MB / 433.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.3268, allocations: 446.9 kB / 433.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.3268, allocations: 3.938 kB / 433.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.3269, allocations: 0 / 433.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.327, allocations: 11.86 kB / 433.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.3273, allocations: 31.91 kB / 433.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.3274, allocations: 31.92 kB / 433.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3276, allocations: 10.11 kB / 433.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3277, allocations: 39.84 kB / 434 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.3278, allocations: 19.8 kB / 434 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3278, allocations: 4 kB / 434 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.3279, allocations: 8 kB / 434 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.3279, allocations: 0 / 434 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.3279, allocations: 15.92 kB / 434 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.3281, allocations: 47.75 kB / 434.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3281, allocations: 0 / 434.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3281, allocations: 0 / 434.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3281, allocations: 4 kB / 434.1 MB, free: 4.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006114/0.3287, allocations: 278.2 kB / 434.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.3288, allocations: 8.031 kB / 434.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.882e-05/0.3288, allocations: 4.172 kB / 434.4 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.3289, allocations: 38.69 kB / 434.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.329, allocations: 12.92 kB / 434.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.3293, allocations: 114.5 kB / 434.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3293, allocations: 4.375 kB / 434.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.3293, allocations: 384 / 434.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.3297, allocations: 123.2 kB / 434.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3297, allocations: 0 / 434.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.3297, allocations: 3.938 kB / 434.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3297, allocations: 0 / 434.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.3298, allocations: 23.97 kB / 434.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.3299, allocations: 136.7 kB / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.3301, allocations: 54.59 kB / 434.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.3302, allocations: 20.89 kB / 434.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3302, allocations: 3.938 kB / 434.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3302, allocations: 38.55 kB / 434.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3302, allocations: 0 / 434.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002344/0.3304, allocations: 73.61 kB / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.3305, allocations: 55.41 kB / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3306, allocations: 121.7 kB / 435.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3306, allocations: 29.7 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.3307, allocations: 84.12 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.3307, allocations: 4 kB / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3307, allocations: 17.7 kB / 435.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3308, allocations: 318.8 kB / 435.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.3309, allocations: 0 / 435.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.3309, allocations: 31.55 kB / 435.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.3309, allocations: 35.44 kB / 435.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3309, allocations: 7.938 kB / 435.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.401e-05/0.331, allocations: 65.52 kB / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.331, allocations: 10.19 kB / 435.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.331, allocations: 96 / 435.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3311, allocations: 3.984 kB / 435.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.3311, allocations: 8 kB / 435.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3311, allocations: 0 / 435.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.3311, allocations: 4 kB / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.3311, allocations: 0 / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 8.758e-05/0.3312, allocations: 121.8 kB / 435.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3313, allocations: 65.61 kB / 436 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.3314, allocations: 8 kB / 436 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3314, allocations: 0 / 436 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3314, allocations: 0 / 436 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3314, allocations: 4 kB / 436 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.3315, allocations: 128.7 kB / 436.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3315, allocations: 3.938 kB / 436.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.3315, allocations: 11.98 kB / 436.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3316, allocations: 4 kB / 436.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3316, allocations: 0 / 436.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3316, allocations: 0 / 436.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3316, allocations: 0 / 436.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.3317, allocations: 89.05 kB / 436.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.3317, allocations: 19.88 kB / 436.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3318, allocations: 0 / 436.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.3318, allocations: 4 kB / 436.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-06/0.3318, allocations: 3.938 kB / 436.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3318, allocations: 4 kB / 436.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.34e-05/0.3319, allocations: 95.58 kB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3319, allocations: 4 kB / 436.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.332, allocations: 4 kB / 436.3 MB, free: 1.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0004728/0.3325, allocations: 0.6202 MB / 437 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.3326, allocations: 23.98 kB / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3326, allocations: 0 / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3326, allocations: 0 / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3329, allocations: 28.17 kB / 437 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.334, allocations: 1.183 MB / 438.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.916e-05/0.3341, allocations: 71.33 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.106e-05/0.3341, allocations: 0 / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.3341, allocations: 15.44 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3341, allocations: 0 / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.3558, allocations: 1.493 MB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.16, allocations: 14.72 kB / 439.8 MB, free: 14.28 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.777872885926627]