Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 51.92 kB / 373.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1043, allocations: 53.32 MB / 427 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003175/0.1075, allocations: 1.879 MB / 428.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1089, allocations: 0.7556 MB / 429.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1091, allocations: 7.938 kB / 429.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.1092, allocations: 19.78 kB / 429.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1094, allocations: 27.78 kB / 429.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.11, allocations: 167.1 kB / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1102, allocations: 147.6 kB / 430 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1103, allocations: 49.45 kB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1105, allocations: 59.72 kB / 430.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1106, allocations: 71.62 kB / 430.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.1106, allocations: 12 kB / 430.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1108, allocations: 55.95 kB / 430.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.1108, allocations: 35.91 kB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.1109, allocations: 79.47 kB / 430.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1112, allocations: 211.1 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1112, allocations: 0 / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1112, allocations: 0 / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1112, allocations: 0 / 430.6 MB, free: 1.152 MB / 350.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.0008157/0.1121, allocations: 474.7 kB / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1121, allocations: 8.031 kB / 431.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.409e-05/0.1121, allocations: 4.375 kB / 431.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.1122, allocations: 46.73 kB / 431.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.1123, allocations: 32.78 kB / 431.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.1127, allocations: 260.1 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1127, allocations: 12.12 kB / 431.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1128, allocations: 4 kB / 431.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2221/0.3349, allocations: 325 kB / 431.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.3349, allocations: 1.703 kB / 431.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.3349, allocations: 5.469 kB / 431.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.335, allocations: 1.562 kB / 431.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.3353, allocations: 85.48 kB / 431.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.3359, allocations: 344.9 kB / 432.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.3366, allocations: 256.5 kB / 432.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.3369, allocations: 96.56 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007048/0.3376, allocations: 0.5803 MB / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3376, allocations: 38.12 kB / 433.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.364e-06/0.3376, allocations: 0 / 433.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008497/0.3385, allocations: 241.5 kB / 433.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.3385, allocations: 124.8 kB / 433.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3387, allocations: 190.4 kB / 433.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3387, allocations: 33.36 kB / 433.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.3388, allocations: 110 kB / 433.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.3388, allocations: 17.12 kB / 433.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.3389, allocations: 40.98 kB / 433.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.3389, allocations: 328.9 kB / 434.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.339, allocations: 40.66 kB / 434.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3391, allocations: 164.5 kB / 434.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3393, allocations: 206.4 kB / 434.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3393, allocations: 4.781 kB / 434.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002791/0.3396, allocations: 215.7 kB / 434.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3396, allocations: 8.484 kB / 434.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3396, allocations: 4.688 kB / 434.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3397, allocations: 5.219 kB / 434.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3398, allocations: 47.97 kB / 434.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3398, allocations: 9.562 kB / 434.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3399, allocations: 19 kB / 434.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.34, allocations: 13.56 kB / 434.9 MB, free: 8.918 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 9.849e-05/0.3401, allocations: 144.9 kB / 435 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.3403, allocations: 162.2 kB / 435.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.3407, allocations: 185 kB / 435.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3407, allocations: 2.156 kB / 435.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3407, allocations: 7.906 kB / 435.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3407, allocations: 2.734 kB / 435.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.3408, allocations: 225.2 kB / 435.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.3409, allocations: 1.969 kB / 435.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.341, allocations: 41.38 kB / 435.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.341, allocations: 0 / 435.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.341, allocations: 2.406 kB / 435.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.341, allocations: 2.141 kB / 435.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.341, allocations: 0.625 kB / 435.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.3414, allocations: 297.2 kB / 436 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.3414, allocations: 120.2 kB / 436.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.3415, allocations: 7.344 kB / 436.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3416, allocations: 10.16 kB / 436.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.3416, allocations: 4.891 kB / 436.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3416, allocations: 13.3 kB / 436.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.244e-05/0.3417, allocations: 148.2 kB / 436.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3417, allocations: 0 / 436.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.342, allocations: 30.92 kB / 436.3 MB, free: 8.168 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.0007233/0.3428, allocations: 0.9192 MB / 437.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.3431, allocations: 139.5 kB / 437.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3431, allocations: 4.062 kB / 437.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.3431, allocations: 16.92 kB / 437.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.3437, allocations: 141.6 kB / 437.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3455, allocations: 2.161 MB / 439.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.3457, allocations: 0.7365 MB / 440.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.739e-05/0.3457, allocations: 18.73 kB / 440.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.3458, allocations: 45 kB / 440.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3458, allocations: 4 kB / 440.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.3718, allocations: 4.344 MB / 444.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.34, allocations: 4.922 kB / 444.8 MB, free: 4.449 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:assignClock.u,assignClock.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(sample1.noise.seedState[1]),previous(sample1.noise.seedState[2]),previous(sample1.noise.seedState[3]),sample1.bits,sample1.limited,sample1.limiter.u,sample1.limiter.uMax,sample1.limiter.uMin,sample1.limiter.y,sample1.noise.firstSeed[1],sample1.noise.firstSeed[2],sample1.noise.firstSeed[3],sample1.noise.noiseMax,sample1.noise.noiseMin,sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],sample1.noise.u,sample1.noise.y,sample1.noisy,sample1.quantization.bits,sample1.quantization.quantized,sample1.quantization.u,sample1.quantization.y,sample1.quantization.yMax,sample1.quantization.yMin,sample1.quantized,sample1.sample1.u,sample1.sample1.y,sample1.u,sample1.y,sample1.yMax,sample1.yMin,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time [Calling sys.exit(0), Time elapsed: 10.838855009002145]