Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1")
translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 43.92 kB / 370.9 MB, free: 9.375 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2771, allocations: 52.18 MB / 423.1 MB, free: 14.71 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00302/0.2801, allocations: 1.542 MB / 424.7 MB, free: 13.16 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003973/0.2805, allocations: 135.5 kB / 424.8 MB, free: 13.02 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.2806, allocations: 7.938 kB / 424.8 MB, free: 13.02 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.2806, allocations: 3.938 kB / 424.8 MB, free: 13.01 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.2807, allocations: 7.938 kB / 424.8 MB, free: 13 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.281, allocations: 39.89 kB / 424.8 MB, free: 12.96 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001626/0.2811, allocations: 27.92 kB / 424.9 MB, free: 12.94 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2812, allocations: 11.98 kB / 424.9 MB, free: 12.93 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.2813, allocations: 23.92 kB / 424.9 MB, free: 12.9 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.2813, allocations: 15.86 kB / 424.9 MB, free: 12.89 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.2814, allocations: 4 kB / 424.9 MB, free: 12.88 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.2814, allocations: 4 kB / 424.9 MB, free: 12.88 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.2814, allocations: 11.94 kB / 424.9 MB, free: 12.87 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.2815, allocations: 15.88 kB / 425 MB, free: 12.85 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.2816, allocations: 56.94 kB / 425 MB, free: 12.8 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2816, allocations: 0 / 425 MB, free: 12.8 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.472e-06/0.2816, allocations: 0 / 425 MB, free: 12.8 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.7e-06/0.2816, allocations: 0 / 425 MB, free: 12.8 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: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0005106/0.2821, allocations: 306 kB / 425.3 MB, free: 12.47 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2822, allocations: 8.031 kB / 425.3 MB, free: 12.46 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.2822, allocations: 8.891 kB / 425.3 MB, free: 12.45 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.2824, allocations: 126.4 kB / 425.5 MB, free: 12.3 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2825, allocations: 8.375 kB / 425.5 MB, free: 12.3 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2825, allocations: 384 / 425.5 MB, free: 12.3 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.2828, allocations: 113.6 kB / 425.6 MB, free: 12.17 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2828, allocations: 8.125 kB / 425.6 MB, free: 12.16 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2828, allocations: 7.875 kB / 425.6 MB, free: 12.15 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2828, allocations: 0 / 425.6 MB, free: 12.15 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.393e-05/0.2829, allocations: 19.98 kB / 425.6 MB, free: 12.13 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.2832, allocations: 240.8 kB / 425.8 MB, free: 11.85 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.2834, allocations: 57.08 kB / 425.9 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.2835, allocations: 29.77 kB / 425.9 MB, free: 11.74 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2835, allocations: 0 / 425.9 MB, free: 11.74 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2836, allocations: 42.56 kB / 426 MB, free: 11.69 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2836, allocations: 0 / 426 MB, free: 11.69 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002609/0.2838, allocations: 73.59 kB / 426 MB, free: 11.61 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.2839, allocations: 89.03 kB / 426.1 MB, free: 11.51 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2841, allocations: 138 kB / 426.3 MB, free: 11.36 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.2841, allocations: 29.64 kB / 426.3 MB, free: 11.32 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.2841, allocations: 92.27 kB / 426.4 MB, free: 11.23 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.2842, allocations: 0 / 426.4 MB, free: 11.23 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2842, allocations: 21.7 kB / 426.4 MB, free: 11.2 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001617/0.2844, allocations: 318.8 kB / 426.7 MB, free: 10.88 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.2844, allocations: 4 kB / 426.7 MB, free: 10.88 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.2845, allocations: 35.42 kB / 426.8 MB, free: 10.83 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.732e-05/0.2846, allocations: 51.36 kB / 426.8 MB, free: 10.77 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2846, allocations: 0 / 426.8 MB, free: 10.77 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001385/0.2847, allocations: 77.59 kB / 426.9 MB, free: 10.69 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2847, allocations: 4 kB / 426.9 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2847, allocations: 0 / 426.9 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2847, allocations: 4 kB / 426.9 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.2848, allocations: 7.938 kB / 426.9 MB, free: 10.67 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2848, allocations: 4 kB / 426.9 MB, free: 10.67 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.2848, allocations: 3.984 kB / 426.9 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.2848, allocations: 4 kB / 426.9 MB, free: 10.66 MB / 334.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.0001164/0.285, allocations: 121.8 kB / 427 MB, free: 10.53 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.285, allocations: 53.67 kB / 427.1 MB, free: 10.47 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.2851, allocations: 12.34 kB / 427.1 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2851, allocations: 0 / 427.1 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2851, allocations: 0 / 427.1 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2851, allocations: 0 / 427.1 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.2853, allocations: 144.7 kB / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2853, allocations: 0 / 427.2 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.2853, allocations: 15.92 kB / 427.2 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2853, allocations: 0 / 427.2 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.2854, allocations: 0 / 427.2 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.2854, allocations: 4 kB / 427.3 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2854, allocations: 4 kB / 427.3 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.2856, allocations: 168.2 kB / 427.4 MB, free: 10.06 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.2856, allocations: 15.95 kB / 427.4 MB, free: 10.05 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.2856, allocations: 3.984 kB / 427.4 MB, free: 10.04 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.2857, allocations: 0 / 427.4 MB, free: 10.04 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.2857, allocations: 11.94 kB / 427.5 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.2857, allocations: 0 / 427.5 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.191e-05/0.2858, allocations: 110.6 kB / 427.6 MB, free: 9.926 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2858, allocations: 3.938 kB / 427.6 MB, free: 9.922 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002234/0.2861, allocations: 4 kB / 427.6 MB, free: 9.918 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: 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.0001391/0.2862, allocations: 99.25 kB / 427.7 MB, free: 9.812 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001793/0.2864, allocations: 28.11 kB / 427.7 MB, free: 9.785 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2864, allocations: 4.062 kB / 427.7 MB, free: 9.781 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.2864, allocations: 7.984 kB / 427.7 MB, free: 9.773 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2868, allocations: 27.06 kB / 427.7 MB, free: 9.75 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.2872, allocations: 150.9 kB / 427.9 MB, free: 9.574 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2876, allocations: 0.6961 MB / 428.6 MB, free: 8.852 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.373e-05/0.2876, allocations: 8.062 kB / 428.6 MB, free: 8.844 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.2877, allocations: 7.438 kB / 428.6 MB, free: 8.836 MB / 334.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.2877, allocations: 0 / 428.6 MB, free: 8.836 MB / 334.1 MB
Notification: Performance of Templates: time 0.003546/0.2912, allocations: 0.508 MB / 429.1 MB, free: 8.328 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.850469286553562]