Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 104.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002162, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.486/2.486, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.00211, allocations: 55.86 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5099, allocations: 49.43 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.006355/0.5164, allocations: 1.85 MB / 402.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.5189, allocations: 0.6893 MB / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.5193, allocations: 4 kB / 402.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.5196, allocations: 23.73 kB / 402.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.52, allocations: 23.8 kB / 402.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.5213, allocations: 154.9 kB / 403 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006524/0.5219, allocations: 151.7 kB / 403.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.5222, allocations: 41.55 kB / 403.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.5225, allocations: 67.64 kB / 403.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.5227, allocations: 63.7 kB / 403.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.252e-05/0.5228, allocations: 12 kB / 403.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.5231, allocations: 59.83 kB / 403.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.5232, allocations: 35.91 kB / 403.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.5234, allocations: 71.53 kB / 403.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.524, allocations: 199.3 kB / 403.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.524, allocations: 3.938 kB / 403.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.524, allocations: 0 / 403.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.524, allocations: 0 / 403.7 MB, free: 5.395 MB / 318.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.001587/0.5256, allocations: 476.5 kB / 404.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/0.5257, allocations: 12.03 kB / 404.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.037e-05/0.5258, allocations: 42.73 kB / 404.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.5259, allocations: 16.75 kB / 404.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.5267, allocations: 247.9 kB / 404.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.5267, allocations: 4.562 kB / 404.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.5268, allocations: 19.94 kB / 404.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.528, allocations: 334.1 kB / 404.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.5281, allocations: 0 / 404.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.5281, allocations: 0 / 404.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5281, allocations: 4 kB / 404.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.5286, allocations: 83.94 kB / 404.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.5294, allocations: 353.4 kB / 405.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009194/0.5303, allocations: 274.3 kB / 405.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.5307, allocations: 101.7 kB / 405.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00248/0.5332, allocations: 0.5778 MB / 406.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.5333, allocations: 38.55 kB / 406.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 4.979e-06/0.5333, allocations: 0 / 406.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001242/0.5346, allocations: 235.8 kB / 406.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003664/0.535, allocations: 114.7 kB / 406.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.5354, allocations: 195.2 kB / 406.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.5355, allocations: 29.7 kB / 406.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5356, allocations: 108.5 kB / 406.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.5357, allocations: 20.02 kB / 406.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.5359, allocations: 37.7 kB / 406.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.5361, allocations: 330.8 kB / 407.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.5363, allocations: 39.97 kB / 407.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.5366, allocations: 166.5 kB / 407.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.5371, allocations: 208.1 kB / 407.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5371, allocations: 0 / 407.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000692/0.5378, allocations: 221.4 kB / 407.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.5379, allocations: 8 kB / 407.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.5379, allocations: 4 kB / 407.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.5379, allocations: 7.938 kB / 407.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.5383, allocations: 43.92 kB / 407.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.5383, allocations: 7.984 kB / 408 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.5386, allocations: 15.91 kB / 408 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.5386, allocations: 8 kB / 408 MB, free: 0.5547 MB / 318.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.0002871/0.5389, allocations: 161.8 kB / 408.1 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005889/0.5395, allocations: 157.3 kB / 408.3 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/0.5402, allocations: 185.8 kB / 408.5 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.5402, allocations: 4 kB / 408.5 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5402, allocations: 0 / 408.5 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5402, allocations: 0 / 408.5 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.5408, allocations: 233.3 kB / 408.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.5408, allocations: 4 kB / 408.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.5411, allocations: 35.91 kB / 408.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.5411, allocations: 4 kB / 408.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.5412, allocations: 7.984 kB / 408.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.5412, allocations: 0 / 408.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5412, allocations: 4 kB / 408.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.542, allocations: 276.1 kB / 409 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.5422, allocations: 120.8 kB / 409.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.5423, allocations: 15.92 kB / 409.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.5426, allocations: 4 kB / 409.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.5426, allocations: 3.984 kB / 409.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.5427, allocations: 4 kB / 409.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.543, allocations: 147.4 kB / 409.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.543, allocations: 0 / 409.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.5436, allocations: 36 kB / 409.3 MB, free: 15.07 MB / 334.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.001719/0.5454, allocations: 0.9293 MB / 410.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.5461, allocations: 139.7 kB / 410.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.5461, allocations: 1.188 kB / 410.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.5462, allocations: 15.92 kB / 410.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.5474, allocations: 151.7 kB / 410.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.5519, allocations: 2.152 MB / 412.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.5525, allocations: 0.7396 MB / 413.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.5527, allocations: 13.55 kB / 413.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.5528, allocations: 39.42 kB / 413.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of SimCode: time 1.442e-06/0.5529, allocations: 0 / 413.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04541/0.5983, allocations: 4.329 MB / 417.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.5, allocations: 12.67 kB / 417.9 MB, free: 6.453 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches