Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002797/0.002797, allocations: 208.2 kB / 23.72 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 51.92 kB / 378.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2761, allocations: 53.37 MB / 431.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002731/0.2788, allocations: 1.516 MB / 433.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003778/0.2792, allocations: 131.5 kB / 433.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.2793, allocations: 3.938 kB / 433.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.2793, allocations: 3.938 kB / 433.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.2794, allocations: 11.94 kB / 433.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.2796, allocations: 39.83 kB / 433.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.76e-05/0.2797, allocations: 27.92 kB / 433.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.2798, allocations: 4 kB / 433.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.225e-05/0.2798, allocations: 11.94 kB / 433.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.2799, allocations: 15.91 kB / 433.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2799, allocations: 4 kB / 433.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.2799, allocations: 4 kB / 433.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.2799, allocations: 11.94 kB / 433.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.28, allocations: 19.86 kB / 433.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.705e-05/0.2801, allocations: 35.62 kB / 433.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2801, allocations: 0 / 433.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.2801, allocations: 4 kB / 433.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2801, allocations: 0 / 433.4 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.0004259/0.2805, allocations: 284.5 kB / 433.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2806, allocations: 8.031 kB / 433.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.2806, allocations: 12.89 kB / 433.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.2808, allocations: 128.8 kB / 433.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2808, allocations: 8.312 kB / 433.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2808, allocations: 384 / 433.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.2811, allocations: 85.67 kB / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2811, allocations: 192 / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2811, allocations: 7.938 kB / 433.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2811, allocations: 3.938 kB / 433.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.248e-05/0.2811, allocations: 11.98 kB / 434 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.2814, allocations: 217.5 kB / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.2815, allocations: 37.16 kB / 434.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.2816, allocations: 17.78 kB / 434.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2816, allocations: 3.938 kB / 434.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2816, allocations: 38.55 kB / 434.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2816, allocations: 3.938 kB / 434.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001963/0.2818, allocations: 61.8 kB / 434.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.2819, allocations: 77.11 kB / 434.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.282, allocations: 129.8 kB / 434.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.282, allocations: 29.7 kB / 434.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.2821, allocations: 88.08 kB / 434.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.2821, allocations: 3.953 kB / 434.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.2821, allocations: 13.72 kB / 434.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2823, allocations: 322.8 kB / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.2823, allocations: 0 / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.2823, allocations: 17.66 kB / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.321e-05/0.2824, allocations: 29.8 kB / 435 MB, free: 3.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2824, allocations: 0 / 435 MB, free: 3.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.903e-05/0.2825, allocations: 57.56 kB / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2825, allocations: 4 kB / 435.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2825, allocations: 0 / 435.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2825, allocations: 0 / 435.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.504e-05/0.2825, allocations: 4 kB / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2825, allocations: 0 / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.2825, allocations: 4.062 kB / 435.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2825, allocations: 0 / 435.1 MB, free: 3.027 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 (sample1.u,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.556e-05/0.2826, allocations: 121.8 kB / 435.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.2827, allocations: 41.53 kB / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.2827, allocations: 15.42 kB / 435.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2827, allocations: 0 / 435.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2827, allocations: 0 / 435.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2827, allocations: 7.984 kB / 435.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.2829, allocations: 113.3 kB / 435.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2829, allocations: 32 / 435.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-06/0.2829, allocations: 4 kB / 435.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2829, allocations: 3.938 kB / 435.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.2829, allocations: 0 / 435.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2829, allocations: 4 kB / 435.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2829, allocations: 0 / 435.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2831, allocations: 156.3 kB / 435.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.2831, allocations: 15.88 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.2831, allocations: 3.938 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.2832, allocations: 4 kB / 435.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.2832, allocations: 4.031 kB / 435.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2832, allocations: 4 kB / 435.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.151e-05/0.2833, allocations: 110.5 kB / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2833, allocations: 0 / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.2835, allocations: 4 kB / 435.7 MB, free: 2.359 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 (sample1.u,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 8.832e-05/0.2836, allocations: 95.25 kB / 435.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.943e-05/0.2837, allocations: 15.94 kB / 435.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2837, allocations: 0 / 435.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.2837, allocations: 12.11 kB / 435.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.284, allocations: 15.97 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.2843, allocations: 150.3 kB / 436 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.184e-05/0.2844, allocations: 63.34 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.129e-05/0.2844, allocations: 7.984 kB / 436 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.2844, allocations: 7.438 kB / 436 MB, free: 1.941 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2844, allocations: 0 / 436 MB, free: 1.941 MB / 334.1 MB Notification: Performance of Templates: time 0.002909/0.2873, allocations: 488.1 kB / 436.5 MB, free: 1.477 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.525251865386963]