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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001963/0.001964, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 62.66 kB / 306.6 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.108, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003506/0.1115, allocations: 1.928 MB / 359 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.113, allocations: 0.7245 MB / 359.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1131, allocations: 8 kB / 359.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.1134, allocations: 15.8 kB / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1136, allocations: 15.92 kB / 359.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.1142, allocations: 155.7 kB / 359.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.1145, allocations: 151.5 kB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1147, allocations: 57.52 kB / 360.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1149, allocations: 67.7 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.115, allocations: 55.7 kB / 360.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.1151, allocations: 16 kB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1152, allocations: 51.95 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1153, allocations: 47.84 kB / 360.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.1154, allocations: 71.53 kB / 360.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.1157, allocations: 199.3 kB / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1157, allocations: 0 / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1157, allocations: 0 / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1157, allocations: 0 / 360.6 MB, free: 10.74 MB / 302.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.0008101/0.1166, allocations: 487 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1166, allocations: 12.03 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.1167, allocations: 42.73 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.1169, allocations: 28.66 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.1172, allocations: 243.8 kB / 361.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1173, allocations: 8.5 kB / 361.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.1173, allocations: 23.86 kB / 361.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.1181, allocations: 334.6 kB / 361.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1181, allocations: 0 / 361.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1181, allocations: 4 kB / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1181, allocations: 4 kB / 361.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.1184, allocations: 83.94 kB / 361.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.1189, allocations: 341.5 kB / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.1194, allocations: 274.3 kB / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1197, allocations: 97.73 kB / 362.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/0.1204, allocations: 0.5895 MB / 363.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1205, allocations: 30.56 kB / 363.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.1205, allocations: 4 kB / 363.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006484/0.1211, allocations: 243.9 kB / 363.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/0.1212, allocations: 114.7 kB / 363.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1215, allocations: 191.2 kB / 363.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1215, allocations: 33.7 kB / 363.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.1216, allocations: 100.6 kB / 363.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1216, allocations: 19.89 kB / 363.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.1217, allocations: 41.64 kB / 363.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1218, allocations: 322.8 kB / 364.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1219, allocations: 51.94 kB / 364.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.1221, allocations: 164.1 kB / 364.5 MB, free: 6.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.1224, allocations: 196.1 kB / 364.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.1224, allocations: 4 kB / 364.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003498/0.1227, allocations: 220.9 kB / 364.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1228, allocations: 4 kB / 364.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1228, allocations: 4.594 kB / 364.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1228, allocations: 8 kB / 364.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.123, allocations: 51.91 kB / 364.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.123, allocations: 4 kB / 364.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1231, allocations: 15.84 kB / 365 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.1231, allocations: 20 kB / 365 MB, free: 5.867 MB / 302.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.0001627/0.1233, allocations: 145.7 kB / 365.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.1236, allocations: 173.2 kB / 365.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.124, allocations: 183.4 kB / 365.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.124, allocations: 0 / 365.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1241, allocations: 0 / 365.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1241, allocations: 0 / 365.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1243, allocations: 233.3 kB / 365.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.1243, allocations: 7.984 kB / 365.7 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1245, allocations: 35.92 kB / 365.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1245, allocations: 0 / 365.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.1245, allocations: 11.98 kB / 365.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1245, allocations: 3.938 kB / 365.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1245, allocations: 0 / 365.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.125, allocations: 293.4 kB / 366 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.1251, allocations: 108.9 kB / 366.1 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.1252, allocations: 12 kB / 366.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1253, allocations: 15.98 kB / 366.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.1254, allocations: 0 / 366.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1254, allocations: 4 kB / 366.2 MB, free: 4.562 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1255, allocations: 147.2 kB / 366.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.1255, allocations: 0 / 366.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.1259, allocations: 31.94 kB / 366.3 MB, free: 4.387 MB / 302.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.001119/0.127, allocations: 0.9149 MB / 367.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.1274, allocations: 151.7 kB / 367.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1275, allocations: 4 kB / 367.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.1275, allocations: 8 kB / 367.4 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.1281, allocations: 146.8 kB / 367.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.1301, allocations: 1.09 MB / 368.7 MB, free: 1.926 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1305, allocations: 0.7323 MB / 369.4 MB, free: 1.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.34e-05/0.1306, allocations: 17.55 kB / 369.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1307, allocations: 51.36 kB / 369.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1307, allocations: 0 / 369.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/0.3315, allocations: 4.045 MB / 373.5 MB, free: 20.04 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.3317, allocations: 225.4 kB / 373.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.527, allocations: 0 / 373.7 MB, free: 19.79 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches