Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001252, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.62 kB / 306.9 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1422, allocations: 50.54 MB / 357.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003907/0.1461, allocations: 1.501 MB / 359 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005156/0.1467, allocations: 147.5 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1468, allocations: 0 / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.1469, allocations: 3.938 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.147, allocations: 19.86 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1473, allocations: 31.91 kB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1474, allocations: 35.86 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1475, allocations: 19.95 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.1476, allocations: 15.92 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.1476, allocations: 19.92 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1477, allocations: 4 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1477, allocations: 4 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.1477, allocations: 11.94 kB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.1478, allocations: 19.86 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1479, allocations: 51.69 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1479, allocations: 0 / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1479, allocations: 4 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1479, allocations: 0 / 359.4 MB, free: 12.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004911/0.1484, allocations: 367.5 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1485, allocations: 8.031 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1485, allocations: 12.84 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1487, allocations: 184.1 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1487, allocations: 4.359 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1488, allocations: 8.375 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.1491, allocations: 117.5 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1491, allocations: 192 / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1491, allocations: 11.94 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1491, allocations: 0 / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.1492, allocations: 19.98 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.1495, allocations: 253.8 kB / 360.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.1498, allocations: 146.2 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.1499, allocations: 21.72 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1499, allocations: 3.984 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.15, allocations: 42.5 kB / 360.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.15, allocations: 0 / 360.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002721/0.1502, allocations: 77.52 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.1503, allocations: 81.11 kB / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1505, allocations: 136.6 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.1505, allocations: 25.7 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.1506, allocations: 92.19 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.1506, allocations: 7.938 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.1507, allocations: 25.62 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1508, allocations: 310.8 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.1509, allocations: 11.98 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.163e-05/0.151, allocations: 31.42 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.637e-05/0.1511, allocations: 47.36 kB / 361.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1511, allocations: 0 / 361.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/0.1512, allocations: 69.56 kB / 361.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1512, allocations: 4.125 kB / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1512, allocations: 4 kB / 361.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1513, allocations: 4 kB / 361.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.1513, allocations: 15.92 kB / 361.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1514, allocations: 0 / 361.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.1514, allocations: 7.938 kB / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1514, allocations: 0 / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001101/0.1515, allocations: 129.7 kB / 361.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.1516, allocations: 41.89 kB / 361.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.1517, allocations: 24.27 kB / 361.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1517, allocations: 0 / 361.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.1517, allocations: 7.938 kB / 361.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1517, allocations: 0 / 361.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1519, allocations: 169.6 kB / 361.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1519, allocations: 0 / 361.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.152, allocations: 8 kB / 361.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.152, allocations: 0 / 361.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.152, allocations: 0 / 361.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.152, allocations: 4 kB / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.152, allocations: 0 / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1522, allocations: 168.2 kB / 362 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.1523, allocations: 97 kB / 362.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1523, allocations: 4 kB / 362.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.1523, allocations: 3.984 kB / 362.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1524, allocations: 7.938 kB / 362.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1524, allocations: 7.938 kB / 362.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.112e-05/0.1525, allocations: 103.3 kB / 362.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1525, allocations: 0 / 362.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1527, allocations: 4 kB / 362.2 MB, free: 8.965 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001082/0.1528, allocations: 99.23 kB / 362.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.153, allocations: 27.92 kB / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.153, allocations: 256 / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.153, allocations: 16 kB / 362.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1534, allocations: 34.56 kB / 362.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.1537, allocations: 154.2 kB / 362.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1541, allocations: 0.6924 MB / 363.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.299e-05/0.1541, allocations: 0 / 363.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1541, allocations: 11.44 kB / 363.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1541, allocations: 0 / 363.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of Templates: time 0.0029/0.157, allocations: 0.4953 MB / 363.8 MB, free: 7.387 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches