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.00224/0.00224, allocations: 104 kB / 17.06 MB, free: 6.023 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.003663/0.003663, allocations: 199.9 kB / 18 MB, free: 5.102 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.435/2.435, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 43.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5825, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.005586/0.5882, allocations: 1.853 MB / 402.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.5903, allocations: 0.6816 MB / 402.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.5905, allocations: 11.94 kB / 402.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.5908, allocations: 15.8 kB / 402.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.591, allocations: 27.73 kB / 402.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009731/0.592, allocations: 158 kB / 403 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.5924, allocations: 151.6 kB / 403.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.5927, allocations: 53.53 kB / 403.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.5929, allocations: 55.72 kB / 403.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.5931, allocations: 67.62 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.5931, allocations: 12 kB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.5933, allocations: 47.97 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.5934, allocations: 39.91 kB / 403.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.5935, allocations: 79.45 kB / 403.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.5939, allocations: 195.3 kB / 403.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5939, allocations: 0 / 403.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.594, allocations: 0 / 403.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.594, allocations: 0 / 403.7 MB, free: 5.367 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.001043/0.595, allocations: 480.5 kB / 404.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.5951, allocations: 12.03 kB / 404.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.651e-05/0.5952, allocations: 42.75 kB / 404.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.5953, allocations: 16.75 kB / 404.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.5958, allocations: 247.9 kB / 404.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.5958, allocations: 8.562 kB / 404.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.5958, allocations: 7.938 kB / 404.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009515/0.5968, allocations: 339.5 kB / 404.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.5968, allocations: 7.922 kB / 404.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.5969, allocations: 12 kB / 404.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5969, allocations: 4 kB / 404.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.5972, allocations: 75.95 kB / 404.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.5979, allocations: 341.5 kB / 405.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.5986, allocations: 274 kB / 405.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.599, allocations: 98.02 kB / 405.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009516/0.5999, allocations: 0.5895 MB / 406.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.6, allocations: 34.56 kB / 406.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.295e-06/0.6, allocations: 0 / 406.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009424/0.6009, allocations: 239.8 kB / 406.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.6011, allocations: 114.7 kB / 406.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.6014, allocations: 195.2 kB / 406.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.6015, allocations: 33.64 kB / 406.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.6016, allocations: 104.5 kB / 406.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.6016, allocations: 15.89 kB / 406.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.6017, allocations: 37.7 kB / 406.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6019, allocations: 335 kB / 407.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.6021, allocations: 39.97 kB / 407.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.6023, allocations: 165.1 kB / 407.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.6027, allocations: 204 kB / 407.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.6027, allocations: 4 kB / 407.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005351/0.6033, allocations: 213 kB / 407.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.6033, allocations: 8.594 kB / 407.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6034, allocations: 8 kB / 407.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.6034, allocations: 11.98 kB / 407.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.6037, allocations: 39.92 kB / 407.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.6037, allocations: 7.938 kB / 408 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.6039, allocations: 15.91 kB / 408 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.6039, allocations: 15.98 kB / 408 MB, free: 0.5156 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.0002128/0.6042, allocations: 145.7 kB / 408.1 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004877/0.6047, allocations: 165.3 kB / 408.3 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.6052, allocations: 183.3 kB / 408.5 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.6052, allocations: 4 kB / 408.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6053, allocations: 0 / 408.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6053, allocations: 0 / 408.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.6057, allocations: 233.3 kB / 408.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.6057, allocations: 0 / 408.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.606, allocations: 27.98 kB / 408.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.606, allocations: 11.98 kB / 408.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.606, allocations: 7.984 kB / 408.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.606, allocations: 0 / 408.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.606, allocations: 4 kB / 408.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.6067, allocations: 282.6 kB / 409 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.6069, allocations: 120.8 kB / 409.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.6069, allocations: 16 kB / 409.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.6072, allocations: 7.984 kB / 409.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.6072, allocations: 4 kB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.6073, allocations: 8 kB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.6075, allocations: 143.4 kB / 409.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6076, allocations: 0 / 409.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006319/0.6082, allocations: 36 kB / 409.4 MB, free: 15.03 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.001584/0.6098, allocations: 0.9208 MB / 410.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.6103, allocations: 154.8 kB / 410.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6104, allocations: 0 / 410.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.6104, allocations: 12 kB / 410.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.6115, allocations: 142.9 kB / 410.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.6157, allocations: 2.156 MB / 412.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.6163, allocations: 0.7396 MB / 413.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.6164, allocations: 17.55 kB / 413.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.6166, allocations: 47.42 kB / 413.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of SimCode: time 1.442e-06/0.6166, allocations: 0 / 413.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0411/0.6577, allocations: 4.315 MB / 417.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.44, allocations: 8.562 kB / 417.9 MB, free: 6.43 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