Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001921/0.001921, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00251/0.00251, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.658/1.658, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 53.4 MB / 432.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.004949/0.3042, allocations: 1.527 MB / 434 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007214/0.3049, allocations: 139.5 kB / 434.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.305, allocations: 0 / 434.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.284e-05/0.3051, allocations: 3.938 kB / 434.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.3053, allocations: 7.938 kB / 434.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.3056, allocations: 43.89 kB / 434.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3058, allocations: 27.92 kB / 434.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3059, allocations: 8 kB / 434.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/0.306, allocations: 11.92 kB / 434.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.306, allocations: 19.86 kB / 434.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.306, allocations: 4 kB / 434.2 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.3061, allocations: 0 / 434.2 MB, free: 5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.3061, allocations: 11.98 kB / 434.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.3062, allocations: 19.81 kB / 434.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.3063, allocations: 48.97 kB / 434.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3063, allocations: 7.984 kB / 434.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3063, allocations: 3.938 kB / 434.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.484e-05/0.3064, allocations: 0 / 434.3 MB, free: 4.914 MB / 334.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.0006108/0.307, allocations: 278.1 kB / 434.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.307, allocations: 16.02 kB / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.3071, allocations: 8.891 kB / 434.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3075, allocations: 122.4 kB / 434.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3075, allocations: 4.375 kB / 434.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3075, allocations: 8.375 kB / 434.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.3079, allocations: 89.61 kB / 434.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3079, allocations: 192 / 434.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3079, allocations: 7.875 kB / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3079, allocations: 0 / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.308, allocations: 27.92 kB / 434.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.3084, allocations: 224.9 kB / 435.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.3086, allocations: 49.08 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.3087, allocations: 13.78 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3087, allocations: 12 kB / 435.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.3088, allocations: 30.56 kB / 435.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.3088, allocations: 0 / 435.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003079/0.3091, allocations: 61.61 kB / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.3092, allocations: 77.11 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.3093, allocations: 145.8 kB / 435.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3093, allocations: 25.7 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.3094, allocations: 88.12 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.3094, allocations: 0 / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3095, allocations: 13.72 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3097, allocations: 318.8 kB / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.3097, allocations: 7.984 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.049e-05/0.3098, allocations: 21.66 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.31, allocations: 29.7 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.31, allocations: 0 / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002237/0.3102, allocations: 61.52 kB / 436 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3102, allocations: 7.984 kB / 436 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3102, allocations: 4.125 kB / 436 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3102, allocations: 0 / 436 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.3103, allocations: 4 kB / 436 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3103, allocations: 4 kB / 436 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.3104, allocations: 0 / 436 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3104, allocations: 0 / 436 MB, free: 2.957 MB / 334.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 0.0001629/0.3106, allocations: 125.8 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3107, allocations: 37.59 kB / 436.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.3107, allocations: 23.78 kB / 436.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3107, allocations: 3.938 kB / 436.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3107, allocations: 0 / 436.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3107, allocations: 7.922 kB / 436.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.311, allocations: 136.7 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.311, allocations: 0 / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.3111, allocations: 7.984 kB / 436.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3111, allocations: 4 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3111, allocations: 0 / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.3111, allocations: 4 kB / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3111, allocations: 0 / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.3114, allocations: 160.3 kB / 436.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.3115, allocations: 15.94 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3115, allocations: 4 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3116, allocations: 0 / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.3116, allocations: 0 / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3116, allocations: 8.031 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3118, allocations: 107.2 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3118, allocations: 0 / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000418/0.3122, allocations: 4 kB / 436.7 MB, free: 2.242 MB / 334.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.0001499/0.3123, allocations: 95.25 kB / 436.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.3125, allocations: 19.98 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3125, allocations: 0 / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.3126, allocations: 16.05 kB / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.3131, allocations: 15.97 kB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.3136, allocations: 164.2 kB / 437 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.3141, allocations: 0.6962 MB / 437.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.3142, allocations: 7.438 kB / 437.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3142, allocations: 0 / 437.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003662/0.3178, allocations: 0.6455 MB / 438.3 MB, free: 0.5234 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.255308201070875]