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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008713/0.0008713, allocations: 94.67 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001115, allocations: 204.1 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002629, allocations: 4 kB / 308.4 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09741, allocations: 51.54 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002142/0.0996, allocations: 1.562 MB / 361.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.101, allocations: 0.7246 MB / 362.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1012, allocations: 4 kB / 362.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.1014, allocations: 15.8 kB / 362.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.1015, allocations: 19.91 kB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.1021, allocations: 147.2 kB / 362.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.1024, allocations: 143.5 kB / 362.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1025, allocations: 65.48 kB / 362.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1027, allocations: 35.8 kB / 362.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1028, allocations: 59.62 kB / 362.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.1029, allocations: 8 kB / 362.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.103, allocations: 39.97 kB / 362.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.1031, allocations: 31.84 kB / 362.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.1032, allocations: 85.3 kB / 362.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.1034, allocations: 147.6 kB / 363 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1034, allocations: 0 / 363 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1034, allocations: 0 / 363 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1034, allocations: 3.938 kB / 363 MB, free: 10.21 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.0007299/0.1041, allocations: 463.2 kB / 363.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1042, allocations: 8.031 kB / 363.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.1044, allocations: 28.73 kB / 363.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.1047, allocations: 235.9 kB / 363.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1047, allocations: 12.5 kB / 363.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1047, allocations: 12.12 kB / 363.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.1054, allocations: 348.1 kB / 364.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1055, allocations: 0 / 364.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1055, allocations: 4 kB / 364.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1055, allocations: 4 kB / 364.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.1058, allocations: 103.9 kB / 364.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.1062, allocations: 345.5 kB / 364.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.1067, allocations: 286.4 kB / 364.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.1069, allocations: 109.7 kB / 364.9 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.1075, allocations: 0.5856 MB / 365.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1076, allocations: 38.55 kB / 365.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.923e-06/0.1076, allocations: 0 / 365.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006246/0.1082, allocations: 264.2 kB / 365.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.1083, allocations: 114.8 kB / 365.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1085, allocations: 199.2 kB / 366.1 MB, free: 6.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1085, allocations: 29.69 kB / 366.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.1086, allocations: 100.6 kB / 366.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.1087, allocations: 19.8 kB / 366.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.1087, allocations: 25.73 kB / 366.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1088, allocations: 326.8 kB / 366.6 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.1089, allocations: 43.97 kB / 366.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1091, allocations: 163.2 kB / 366.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.1093, allocations: 212.1 kB / 367 MB, free: 5.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1093, allocations: 4 kB / 367 MB, free: 5.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003434/0.1097, allocations: 217.2 kB / 367.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.1097, allocations: 8 kB / 367.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1097, allocations: 4 kB / 367.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1097, allocations: 8 kB / 367.2 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.1099, allocations: 39.92 kB / 367.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1099, allocations: 15.86 kB / 367.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.11, allocations: 28.28 kB / 367.3 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1101, allocations: 8 kB / 367.3 MB, free: 5.344 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.0001379/0.1102, allocations: 153.7 kB / 367.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.1105, allocations: 169.3 kB / 367.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.1109, allocations: 197.9 kB / 367.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1109, allocations: 0 / 367.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1109, allocations: 0 / 367.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.1109, allocations: 7.984 kB / 367.8 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1112, allocations: 225.5 kB / 368.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1112, allocations: 0 / 368.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1113, allocations: 39.92 kB / 368.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1113, allocations: 0 / 368.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1114, allocations: 4 kB / 368.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.1114, allocations: 7.984 kB / 368.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1114, allocations: 3.938 kB / 368.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.1118, allocations: 292 kB / 368.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.149e-05/0.1119, allocations: 120.8 kB / 368.5 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.1119, allocations: 8 kB / 368.5 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1121, allocations: 11.98 kB / 368.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1121, allocations: 4 kB / 368.5 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.1121, allocations: 4 kB / 368.6 MB, free: 4.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1123, allocations: 147.2 kB / 368.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1123, allocations: 0 / 368.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.1126, allocations: 36 kB / 368.7 MB, free: 3.836 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.0001702/0.1128, allocations: 111.2 kB / 368.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.1131, allocations: 155.7 kB / 369 MB, free: 3.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1131, allocations: 1.188 kB / 369 MB, free: 3.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.1132, allocations: 12 kB / 369 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.1138, allocations: 157.6 kB / 369.2 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006931/0.1145, allocations: 427.4 kB / 369.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1148, allocations: 0.7364 MB / 370.3 MB, free: 2.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.1149, allocations: 19.44 kB / 370.3 MB, free: 2.16 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1149, allocations: 0 / 370.3 MB, free: 2.16 MB / 302.1 MB Notification: Performance of Templates: time 0.1735/0.2884, allocations: 2.233 MB / 372.6 MB, free: 18.89 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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