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.000999/0.0009991, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 58.81 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09575, allocations: 50.52 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002813/0.0986, allocations: 1.52 MB / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.09901, allocations: 135.6 kB / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.55e-05/0.0991, allocations: 0 / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.456e-05/0.09916, allocations: 11.92 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.09929, allocations: 3.938 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.09953, allocations: 39.89 kB / 359.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.09963, allocations: 31.88 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.09974, allocations: 23.95 kB / 359.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.09978, allocations: 11.94 kB / 359.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.09983, allocations: 15.92 kB / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.09985, allocations: 0 / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.09987, allocations: 4 kB / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.09992, allocations: 15.92 kB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.09996, allocations: 19.88 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.747e-05/0.1001, allocations: 51.75 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1001, allocations: 0 / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1001, allocations: 0 / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1001, allocations: 0 / 360 MB, free: 12.23 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.0004439/0.1005, allocations: 371.4 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1006, allocations: 8.031 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1006, allocations: 8.844 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1008, allocations: 192.1 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1008, allocations: 4.375 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.1008, allocations: 4.375 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.1011, allocations: 117.5 kB / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1011, allocations: 4.125 kB / 360.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1012, allocations: 3.938 kB / 360.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1012, allocations: 0 / 360.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.1012, allocations: 23.97 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.1015, allocations: 265.8 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1018, allocations: 138.2 kB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.1018, allocations: 33.77 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1019, allocations: 0 / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1019, allocations: 38.5 kB / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1019, allocations: 0 / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000234/0.1021, allocations: 73.58 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.1022, allocations: 81.05 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.1023, allocations: 138.1 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1023, allocations: 29.64 kB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.1024, allocations: 88.27 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.1024, allocations: 7.984 kB / 361.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.1024, allocations: 21.62 kB / 361.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1026, allocations: 318.8 kB / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.1026, allocations: 8 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.1027, allocations: 31.42 kB / 362 MB, free: 9.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.1028, allocations: 51.36 kB / 362 MB, free: 9.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1028, allocations: 0 / 362 MB, free: 9.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001234/0.1029, allocations: 65.64 kB / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1029, allocations: 15 kB / 362.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1029, allocations: 0 / 362.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1029, allocations: 0 / 362.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.103, allocations: 11.94 kB / 362.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.103, allocations: 0 / 362.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.1031, allocations: 7.938 kB / 362.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1031, allocations: 3.984 kB / 362.1 MB, free: 9.812 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 8.085e-05/0.1032, allocations: 125.7 kB / 362.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.1032, allocations: 53.59 kB / 362.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.1033, allocations: 8.25 kB / 362.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1033, allocations: 4 kB / 362.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1033, allocations: 0 / 362.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1033, allocations: 0 / 362.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1035, allocations: 169.6 kB / 362.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.1035, allocations: 8 kB / 362.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.1035, allocations: 11.92 kB / 362.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1035, allocations: 4 kB / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1035, allocations: 3.938 kB / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1036, allocations: 0 / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1036, allocations: 4 kB / 362.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.1037, allocations: 168.6 kB / 362.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.1038, allocations: 93 kB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1038, allocations: 0 / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.1039, allocations: 4 kB / 362.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.1039, allocations: 11.97 kB / 362.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1039, allocations: 0 / 362.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.873e-05/0.104, allocations: 113.6 kB / 362.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.104, allocations: 0 / 362.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1042, allocations: 4 kB / 362.9 MB, free: 8.934 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 8.952e-05/0.1043, allocations: 99.25 kB / 363 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1045, allocations: 32.11 kB / 363 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1045, allocations: 4.062 kB / 363 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.1045, allocations: 7.984 kB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1049, allocations: 27.95 kB / 363.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.1052, allocations: 176 kB / 363.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1054, allocations: 0.6963 MB / 363.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.1055, allocations: 11.44 kB / 364 MB, free: 7.816 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1055, allocations: 0 / 364 MB, free: 7.816 MB / 302.1 MB Notification: Performance of Templates: time 0.001815/0.1073, allocations: 0.691 MB / 364.6 MB, free: 7.125 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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