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.0008298/0.0008297, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009256/0.0009256, allocations: 204.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002069/0.000207, allocations: 8 kB / 307.8 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08701, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.001977/0.08903, allocations: 1.573 MB / 360.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.09024, allocations: 0.7246 MB / 361.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.09035, allocations: 11.94 kB / 361.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.09049, allocations: 15.86 kB / 361.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.09063, allocations: 23.84 kB / 361.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.09109, allocations: 131.8 kB / 361.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.09129, allocations: 143.5 kB / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.09144, allocations: 61.5 kB / 362 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.09158, allocations: 47.72 kB / 362.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.09169, allocations: 51.69 kB / 362.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.09172, allocations: 4 kB / 362.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.95e-05/0.09181, allocations: 43.97 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.09189, allocations: 35.78 kB / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.09198, allocations: 85.3 kB / 362.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.0922, allocations: 191.3 kB / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09221, allocations: 0 / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09221, allocations: 0 / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.09222, allocations: 0 / 362.5 MB, free: 10.04 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.0006625/0.09289, allocations: 459.2 kB / 362.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.09295, allocations: 12.03 kB / 362.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.093, allocations: 42.75 kB / 363 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.09317, allocations: 28.73 kB / 363 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.09343, allocations: 243.8 kB / 363.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.09346, allocations: 12.5 kB / 363.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.09348, allocations: 7.938 kB / 363.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.09412, allocations: 350.8 kB / 363.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.09414, allocations: 0 / 363.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.09417, allocations: 7.984 kB / 363.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.09418, allocations: 0 / 363.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.09442, allocations: 107.8 kB / 363.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.09481, allocations: 333.6 kB / 364.1 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.09528, allocations: 286.1 kB / 364.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.09548, allocations: 109 kB / 364.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/0.09605, allocations: 0.5895 MB / 365 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.09608, allocations: 38.78 kB / 365.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.09609, allocations: 0 / 365.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.000591/0.09668, allocations: 255.7 kB / 365.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.09677, allocations: 118.7 kB / 365.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.09695, allocations: 191.2 kB / 365.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.09698, allocations: 29.7 kB / 365.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.09704, allocations: 108.6 kB / 365.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.09707, allocations: 19.8 kB / 365.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.0971, allocations: 21.7 kB / 365.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.09722, allocations: 330.9 kB / 366.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.0973, allocations: 39.97 kB / 366.2 MB, free: 5.945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.09746, allocations: 166.8 kB / 366.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.09769, allocations: 212.1 kB / 366.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.0977, allocations: 0 / 366.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003048/0.09801, allocations: 221.3 kB / 366.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.09804, allocations: 8 kB / 366.8 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.09805, allocations: 7.938 kB / 366.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.09807, allocations: 4 kB / 366.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.09821, allocations: 43.92 kB / 366.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.09823, allocations: 15.92 kB / 366.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.09834, allocations: 19.84 kB / 366.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.09836, allocations: 12.25 kB / 366.9 MB, free: 5.125 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.0001272/0.09849, allocations: 153.7 kB / 367 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.09879, allocations: 165.3 kB / 367.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.09914, allocations: 194.5 kB / 367.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.09915, allocations: 4 kB / 367.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.09916, allocations: 0 / 367.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.09917, allocations: 3.938 kB / 367.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.09937, allocations: 229.4 kB / 367.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.09939, allocations: 3.938 kB / 367.6 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.09952, allocations: 39.97 kB / 367.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.09953, allocations: 0 / 367.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.09955, allocations: 8 kB / 367.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.09955, allocations: 0 / 367.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.09956, allocations: 0 / 367.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.09994, allocations: 306.5 kB / 367.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.1, allocations: 120.8 kB / 368.1 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1001, allocations: 8 kB / 368.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1002, allocations: 15.98 kB / 368.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.1002, allocations: 0 / 368.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1003, allocations: 8 kB / 368.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1004, allocations: 143.2 kB / 368.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1004, allocations: 0 / 368.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.1007, allocations: 32 kB / 368.3 MB, free: 3.617 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.0008722/0.1016, allocations: 0.9393 MB / 369.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.1019, allocations: 148.9 kB / 369.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1019, allocations: 4 kB / 369.3 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.1019, allocations: 16.05 kB / 369.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.1025, allocations: 149.6 kB / 369.5 MB, free: 2.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.104, allocations: 1.098 MB / 370.6 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1043, allocations: 0.7364 MB / 371.3 MB, free: 364 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.916e-05/0.1043, allocations: 21.55 kB / 371.4 MB, free: 340 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.1044, allocations: 43.42 kB / 371.4 MB, free: 300 kB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1044, allocations: 0 / 371.4 MB, free: 300 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.191/0.2955, allocations: 3.814 MB / 375.2 MB, free: 18.65 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.2957, allocations: 230 kB / 375.4 MB, free: 18.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.045, allocations: 3.828 kB / 375.5 MB, free: 18.39 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