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.001891/0.001891, allocations: 117.9 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.002697/0.002697, 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.511/1.511, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 60.08 kB / 306.4 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 50.54 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003789/0.1265, allocations: 1.908 MB / 358.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1278, allocations: 0.7361 MB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.128, allocations: 3.938 kB / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1282, allocations: 19.86 kB / 359.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1284, allocations: 23.84 kB / 359.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.129, allocations: 151.7 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.1292, allocations: 155.5 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1294, allocations: 57.52 kB / 360 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1295, allocations: 67.7 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1297, allocations: 59.7 kB / 360.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.1297, allocations: 12 kB / 360.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1299, allocations: 63.89 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.714e-05/0.13, allocations: 43.83 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.1301, allocations: 63.61 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1304, allocations: 199.3 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1304, allocations: 0 / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1304, allocations: 0 / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1304, allocations: 0 / 360.5 MB, free: 10.63 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.0008993/0.1313, allocations: 485.6 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1314, allocations: 8.031 kB / 361 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.1316, allocations: 32.64 kB / 361 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.1319, allocations: 243.8 kB / 361.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.132, allocations: 4.562 kB / 361.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.132, allocations: 12.12 kB / 361.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/0.1327, allocations: 331.4 kB / 361.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1327, allocations: 0 / 361.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1328, allocations: 4 kB / 361.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1328, allocations: 0 / 361.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.133, allocations: 87.81 kB / 361.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.1335, allocations: 349.6 kB / 362 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.134, allocations: 269.9 kB / 362.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.1342, allocations: 101.7 kB / 362.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006018/0.1348, allocations: 0.5856 MB / 363 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1348, allocations: 38.77 kB / 363 MB, free: 7.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.1348, allocations: 0 / 363 MB, free: 7.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006256/0.1355, allocations: 236.1 kB / 363.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.1356, allocations: 122.7 kB / 363.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1358, allocations: 195.2 kB / 363.6 MB, free: 7.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1359, allocations: 29.7 kB / 363.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.136, allocations: 108.5 kB / 363.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.136, allocations: 16.02 kB / 363.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.1361, allocations: 45.7 kB / 363.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1362, allocations: 326.8 kB / 364.1 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.1363, allocations: 39.97 kB / 364.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.1365, allocations: 164.1 kB / 364.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.1368, allocations: 212 kB / 364.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1368, allocations: 0 / 364.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003456/0.1371, allocations: 217.6 kB / 364.7 MB, free: 5.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1372, allocations: 8 kB / 364.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1372, allocations: 4 kB / 364.7 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1372, allocations: 4 kB / 364.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1373, allocations: 43.92 kB / 364.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.1374, allocations: 15.92 kB / 364.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.1375, allocations: 15.84 kB / 364.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1375, allocations: 12 kB / 364.8 MB, free: 5.812 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.0001497/0.1377, allocations: 157.7 kB / 365 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.138, allocations: 161.3 kB / 365.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.1383, allocations: 186 kB / 365.3 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1384, allocations: 4 kB / 365.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1384, allocations: 0 / 365.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1384, allocations: 3.984 kB / 365.3 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1386, allocations: 221.5 kB / 365.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.1386, allocations: 11.92 kB / 365.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1388, allocations: 31.98 kB / 365.6 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1388, allocations: 4 kB / 365.6 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1388, allocations: 4 kB / 365.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1388, allocations: 0 / 365.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.1388, allocations: 7.984 kB / 365.6 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.1392, allocations: 295.8 kB / 365.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1393, allocations: 116.8 kB / 366 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.1394, allocations: 8 kB / 366 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1395, allocations: 11.92 kB / 366 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1395, allocations: 8 kB / 366 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.1396, allocations: 4 kB / 366 MB, free: 4.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1397, allocations: 139.2 kB / 366.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1397, allocations: 4 kB / 366.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000323/0.14, allocations: 32 kB / 366.2 MB, free: 4.324 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.0001997/0.1402, allocations: 111.2 kB / 366.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.1406, allocations: 160.7 kB / 366.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1406, allocations: 4.062 kB / 366.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.1407, allocations: 4 kB / 366.5 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.1413, allocations: 156.3 kB / 366.6 MB, free: 3.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.1419, allocations: 385 kB / 367 MB, free: 3.484 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1422, allocations: 0.7322 MB / 367.7 MB, free: 2.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.1423, allocations: 17.55 kB / 367.7 MB, free: 2.703 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1424, allocations: 19.44 kB / 367.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1424, allocations: 0 / 367.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of Templates: time 0.005424/0.1478, allocations: 2.318 MB / 370.1 MB, free: 388 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/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