Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001792/0.001792, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002088/0.002088, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003146/0.003146, allocations: 59.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3166, allocations: 53.41 MB / 431.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003569/0.3201, allocations: 1.829 MB / 433 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3217, allocations: 0.7088 MB / 433.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3219, allocations: 7.938 kB / 433.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.322, allocations: 19.78 kB / 433.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.3222, allocations: 27.8 kB / 433.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.3228, allocations: 166.7 kB / 433.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.3231, allocations: 155.6 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3232, allocations: 33.72 kB / 434.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3234, allocations: 63.77 kB / 434.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3235, allocations: 55.64 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.3235, allocations: 16 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3237, allocations: 51.97 kB / 434.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.155e-05/0.3237, allocations: 47.83 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.3238, allocations: 55.66 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.3241, allocations: 212.8 kB / 434.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3241, allocations: 0 / 434.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3241, allocations: 4 kB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3242, allocations: 3.938 kB / 434.6 MB, free: 2.984 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007375/0.3249, allocations: 401.7 kB / 435 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3249, allocations: 15.98 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.325, allocations: 38.75 kB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.3252, allocations: 28.78 kB / 435.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.3256, allocations: 206.8 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3256, allocations: 4.562 kB / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3256, allocations: 15.94 kB / 435.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.3263, allocations: 359.2 kB / 435.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3263, allocations: 0 / 435.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3264, allocations: 4 kB / 435.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3264, allocations: 4 kB / 435.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.3266, allocations: 83.88 kB / 435.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.327, allocations: 292.7 kB / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.3275, allocations: 185 kB / 436.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.3277, allocations: 89.73 kB / 436.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003973/0.3281, allocations: 59.94 kB / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3281, allocations: 38.83 kB / 436.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.3281, allocations: 11.88 kB / 436.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006131/0.3287, allocations: 233.3 kB / 436.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3288, allocations: 125.5 kB / 436.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.329, allocations: 194.6 kB / 436.9 MB, free: 452 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.3291, allocations: 29.7 kB / 437 MB, free: 416 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.3292, allocations: 104.6 kB / 437.1 MB, free: 304 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3292, allocations: 27.95 kB / 437.1 MB, free: 276 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.3292, allocations: 41.7 kB / 437.1 MB, free: 228 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3294, allocations: 322.8 kB / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.108e-05/0.3295, allocations: 39.97 kB / 437.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.3297, allocations: 185.6 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.33, allocations: 216 kB / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.33, allocations: 0 / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003525/0.3303, allocations: 217.5 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3304, allocations: 4 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3304, allocations: 8 kB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3304, allocations: 4 kB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3305, allocations: 43.92 kB / 438.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.3306, allocations: 11.98 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3307, allocations: 11.95 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.3307, allocations: 12 kB / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001713/0.3309, allocations: 157.8 kB / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.3312, allocations: 165.4 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.3316, allocations: 175.3 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3316, allocations: 3.938 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3316, allocations: 7.984 kB / 438.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3316, allocations: 3.984 kB / 438.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3318, allocations: 184.5 kB / 438.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3318, allocations: 0 / 438.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.332, allocations: 35.92 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.332, allocations: 4 kB / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.332, allocations: 3.984 kB / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.332, allocations: 0 / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.332, allocations: 0 / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.3325, allocations: 292.1 kB / 439.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.612e-05/0.3325, allocations: 39.81 kB / 439.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.3326, allocations: 8 kB / 439.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3327, allocations: 19.98 kB / 439.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.3327, allocations: 0 / 439.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3328, allocations: 4 kB / 439.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.3329, allocations: 152 kB / 439.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3329, allocations: 0 / 439.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.3332, allocations: 35.94 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001039/0.3343, allocations: 0.92 MB / 440.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.3347, allocations: 135.8 kB / 440.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3347, allocations: 1.188 kB / 440.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.3347, allocations: 11.98 kB / 440.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.3353, allocations: 148 kB / 440.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.3381, allocations: 2.179 MB / 442.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.3383, allocations: 123.5 kB / 443 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.533e-05/0.3384, allocations: 21.48 kB / 443 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.3385, allocations: 43.42 kB / 443 MB, free: 9.859 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3385, allocations: 0 / 443 MB, free: 9.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.3721, allocations: 4.989 MB / 448 MB, free: 5.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.4, allocations: 4.062 kB / 448 MB, free: 5 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.948158172890544]