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.00193/0.00193, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002413/0.002413, allocations: 212.4 kB / 23.73 MB, free: 4.164 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.514/1.514, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.003091/0.003091, allocations: 67.89 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2905, allocations: 53.4 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003509/0.294, allocations: 1.52 MB / 433.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004754/0.2945, allocations: 135.5 kB / 433.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.2945, allocations: 0 / 433.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.166e-05/0.2946, allocations: 3.938 kB / 433.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.2948, allocations: 15.92 kB / 433.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.295, allocations: 27.92 kB / 433.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.2952, allocations: 31.91 kB / 433.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2953, allocations: 8 kB / 433.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.2953, allocations: 11.92 kB / 433.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.2954, allocations: 15.88 kB / 433.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.2954, allocations: 0 / 433.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.2954, allocations: 4 kB / 433.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.2955, allocations: 11.98 kB / 433.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.2955, allocations: 11.88 kB / 433.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.2956, allocations: 53.94 kB / 433.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2957, allocations: 4 kB / 433.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2957, allocations: 0 / 433.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2957, allocations: 0 / 433.5 MB, free: 4.656 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.0005898/0.2963, allocations: 290.1 kB / 433.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.2963, allocations: 11.98 kB / 433.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.2963, allocations: 8.891 kB / 433.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.2967, allocations: 122.4 kB / 433.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2967, allocations: 8.375 kB / 433.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2967, allocations: 384 / 433.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.2969, allocations: 101.5 kB / 434 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2969, allocations: 4.172 kB / 434 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.297, allocations: 3.938 kB / 434 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.297, allocations: 0 / 434 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.297, allocations: 19.92 kB / 434 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.2973, allocations: 209.4 kB / 434.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.443e-05/0.2974, allocations: 45.16 kB / 434.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.2975, allocations: 25.77 kB / 434.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.2975, allocations: 3.938 kB / 434.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.2975, allocations: 38.56 kB / 434.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2975, allocations: 0 / 434.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002354/0.2978, allocations: 61.61 kB / 434.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.2978, allocations: 77.11 kB / 434.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.298, allocations: 141.2 kB / 434.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.298, allocations: 25.95 kB / 434.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.298, allocations: 84.14 kB / 434.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.377e-06/0.2981, allocations: 8 kB / 434.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.2981, allocations: 13.72 kB / 434.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2983, allocations: 318.8 kB / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.2983, allocations: 4 kB / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.031e-05/0.2983, allocations: 25.64 kB / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.934e-05/0.2984, allocations: 29.64 kB / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2984, allocations: 4.062 kB / 435.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001113/0.2985, allocations: 61.52 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2985, allocations: 4 kB / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2985, allocations: 4 kB / 435.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.2985, allocations: 0 / 435.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.2986, allocations: 4 kB / 435.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2986, allocations: 3.984 kB / 435.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.2987, allocations: 4 kB / 435.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.2987, allocations: 0 / 435.2 MB, free: 2.707 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.0001096/0.2988, allocations: 117.9 kB / 435.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.2988, allocations: 45.58 kB / 435.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.2989, allocations: 11.7 kB / 435.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2989, allocations: 4 kB / 435.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2989, allocations: 0 / 435.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2989, allocations: 0 / 435.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.299, allocations: 113.3 kB / 435.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.299, allocations: 0 / 435.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.2991, allocations: 7.984 kB / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2991, allocations: 7.938 kB / 435.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2991, allocations: 4.031 kB / 435.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2991, allocations: 3.938 kB / 435.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2991, allocations: 0 / 435.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.2993, allocations: 148.4 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.2993, allocations: 19.88 kB / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2993, allocations: 0 / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.2994, allocations: 4 kB / 435.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.2994, allocations: 3.938 kB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2994, allocations: 7.984 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.912e-05/0.2995, allocations: 107.2 kB / 435.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2995, allocations: 0 / 435.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.2997, allocations: 4 kB / 435.8 MB, free: 2.043 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.0001181/0.2998, allocations: 95.25 kB / 435.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.3, allocations: 19.98 kB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3, allocations: 0 / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.3, allocations: 11.92 kB / 435.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3003, allocations: 33.81 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.3007, allocations: 146.4 kB / 436.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.354e-05/0.3007, allocations: 67.34 kB / 436.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.19e-05/0.3008, allocations: 3.984 kB / 436.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.3008, allocations: 11.44 kB / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3008, allocations: 0 / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of Templates: time 0.00293/0.3037, allocations: 492.2 kB / 436.7 MB, free: 1.137 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/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: 4.528254548087716]