Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 104.3 kB / 17.59 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 187.3 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 52.03 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00353/0.1197, allocations: 1.487 MB / 352.2 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004457/0.1201, allocations: 145 kB / 352.4 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1203, allocations: 4 kB / 352.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.048e-05/0.1204, allocations: 3.938 kB / 352.4 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.1205, allocations: 3.938 kB / 352.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.1208, allocations: 37.66 kB / 352.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.351e-05/0.1209, allocations: 23.92 kB / 352.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.121, allocations: 19.98 kB / 352.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.1211, allocations: 7.938 kB / 352.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.1211, allocations: 19.86 kB / 352.5 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1211, allocations: 7.938 kB / 352.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.1212, allocations: 4 kB / 352.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1212, allocations: 8 kB / 352.5 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.1213, allocations: 15.81 kB / 352.5 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1214, allocations: 47.81 kB / 352.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1214, allocations: 0 / 352.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1214, allocations: 0 / 352.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1214, allocations: 0 / 352.6 MB, free: 2.582 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004979/0.1219, allocations: 367.5 kB / 352.9 MB, free: 2.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.122, allocations: 8.031 kB / 352.9 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.122, allocations: 8.844 kB / 352.9 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1222, allocations: 180.2 kB / 353.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1222, allocations: 4.375 kB / 353.1 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1223, allocations: 4.375 kB / 353.1 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1225, allocations: 89.61 kB / 353.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1225, allocations: 192 / 353.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1226, allocations: 11.92 kB / 353.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1226, allocations: 0 / 353.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.1226, allocations: 19.94 kB / 353.2 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.123, allocations: 249.8 kB / 353.5 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.42e-05/0.1231, allocations: 53.09 kB / 353.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.1232, allocations: 21.75 kB / 353.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1232, allocations: 7.922 kB / 353.6 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.1232, allocations: 38.56 kB / 353.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1232, allocations: 0 / 353.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002598/0.1235, allocations: 69.52 kB / 353.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.1236, allocations: 81.05 kB / 353.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1237, allocations: 130.1 kB / 353.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1237, allocations: 29.7 kB / 353.9 MB, free: 1 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.1238, allocations: 84.14 kB / 354 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.1238, allocations: 3.906 kB / 354 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.1239, allocations: 21.95 kB / 354 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.124, allocations: 314.8 kB / 354.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.1241, allocations: 8 kB / 354.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.1241, allocations: 21.64 kB / 354.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.315e-05/0.1242, allocations: 29.77 kB / 354.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1242, allocations: 0 / 354.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000122/0.1244, allocations: 57.56 kB / 354.4 MB, free: 444 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1244, allocations: 8 kB / 354.4 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1244, allocations: 0 / 354.4 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1244, allocations: 0 / 354.4 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.1245, allocations: 7.984 kB / 354.5 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1245, allocations: 0 / 354.5 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.1246, allocations: 4 kB / 354.5 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1246, allocations: 4.062 kB / 354.5 MB, free: 420 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.883e-05/0.1247, allocations: 117.8 kB / 354.6 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.1248, allocations: 45.53 kB / 354.6 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.1248, allocations: 11.88 kB / 354.6 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1248, allocations: 0 / 354.6 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1248, allocations: 0 / 354.6 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1248, allocations: 0 / 354.6 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.125, allocations: 165.6 kB / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.125, allocations: 32 / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.1251, allocations: 12.05 kB / 354.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1251, allocations: 0 / 354.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1251, allocations: 0 / 354.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1251, allocations: 0 / 354.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1251, allocations: 0 / 354.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1253, allocations: 168.2 kB / 355 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.199e-05/0.1254, allocations: 92.94 kB / 355.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1255, allocations: 3.938 kB / 355.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.408e-05/0.1255, allocations: 8 kB / 355.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.1256, allocations: 4 kB / 355.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1256, allocations: 0 / 355.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.371e-05/0.1257, allocations: 113.9 kB / 355.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1257, allocations: 0 / 355.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1259, allocations: 8 kB / 355.2 MB, free: 15.57 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001493/0.1261, allocations: 103.8 kB / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.1262, allocations: 15.98 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1262, allocations: 0 / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.1263, allocations: 15.92 kB / 355.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1267, allocations: 11.97 kB / 355.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.1271, allocations: 172.3 kB / 355.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1274, allocations: 0.6807 MB / 356.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.1274, allocations: 11.44 kB / 356.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1274, allocations: 4 kB / 356.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of Templates: time 0.002224/0.1296, allocations: 0.6286 MB / 356.8 MB, free: 13.86 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches