Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002005/0.002005, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002509/0.00251, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.563/1.563, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 63.89 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4306, allocations: 50.54 MB / 409.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.004107/0.4348, allocations: 1.522 MB / 411.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005383/0.4353, allocations: 143.5 kB / 411.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.4355, allocations: 0 / 411.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.616e-05/0.4356, allocations: 3.938 kB / 411.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.4358, allocations: 11.92 kB / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.4362, allocations: 35.91 kB / 411.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.4363, allocations: 31.86 kB / 411.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.4365, allocations: 15.98 kB / 411.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.71e-05/0.4365, allocations: 11.94 kB / 411.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.4366, allocations: 19.91 kB / 411.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.4366, allocations: 4 kB / 411.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.4367, allocations: 0 / 411.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.4367, allocations: 23.86 kB / 411.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.537e-05/0.4368, allocations: 19.81 kB / 411.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.437, allocations: 47.61 kB / 411.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.437, allocations: 0 / 411.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.437, allocations: 0 / 411.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.437, allocations: 0 / 411.4 MB, free: 15.57 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.0006272/0.4377, allocations: 367.2 kB / 411.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.4377, allocations: 12.03 kB / 411.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.4378, allocations: 8.891 kB / 411.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.4382, allocations: 192.2 kB / 412 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4382, allocations: 12.31 kB / 412 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.4382, allocations: 384 / 412 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.4386, allocations: 117.5 kB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4386, allocations: 4.188 kB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.4387, allocations: 7.875 kB / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4387, allocations: 0 / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.4388, allocations: 19.98 kB / 412.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.4393, allocations: 261.8 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.4397, allocations: 138.2 kB / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/0.4398, allocations: 29.7 kB / 412.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.4398, allocations: 4 kB / 412.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.4399, allocations: 34.56 kB / 412.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 4.368e-06/0.4399, allocations: 3.984 kB / 412.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003447/0.4402, allocations: 81.56 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.4403, allocations: 81.09 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.4405, allocations: 141.4 kB / 412.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4405, allocations: 25.7 kB / 412.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.4406, allocations: 84.14 kB / 413 MB, free: 13.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.4406, allocations: 7.953 kB / 413 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.4407, allocations: 25.83 kB / 413.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4409, allocations: 310.8 kB / 413.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.4409, allocations: 11.98 kB / 413.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.441, allocations: 27.44 kB / 413.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.4411, allocations: 51.36 kB / 413.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4411, allocations: 4 kB / 413.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001445/0.4412, allocations: 73.48 kB / 413.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4413, allocations: 4 kB / 413.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4413, allocations: 4 kB / 413.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4413, allocations: 128 / 413.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.4414, allocations: 12 kB / 413.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4414, allocations: 0 / 413.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.4414, allocations: 11.94 kB / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.4414, allocations: 0 / 413.6 MB, free: 13.14 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.0001097/0.4416, allocations: 121.8 kB / 413.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.4416, allocations: 57.58 kB / 413.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.4417, allocations: 8.25 kB / 413.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4417, allocations: 4 kB / 413.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.4417, allocations: 4 kB / 413.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4417, allocations: 7.875 kB / 413.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.442, allocations: 169.6 kB / 413.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.442, allocations: 0 / 413.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.442, allocations: 11.98 kB / 413.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.442, allocations: 0 / 413.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4421, allocations: 4 kB / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4421, allocations: 0 / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4421, allocations: 0 / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.4423, allocations: 176.2 kB / 414.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.4424, allocations: 89.09 kB / 414.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.4424, allocations: 0 / 414.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.4425, allocations: 4 kB / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.4425, allocations: 0 / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.4425, allocations: 0 / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.192e-05/0.4426, allocations: 107.2 kB / 414.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4426, allocations: 4 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.4428, allocations: 4 kB / 414.3 MB, free: 12.27 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.0001433/0.443, allocations: 95.25 kB / 414.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.4432, allocations: 35.92 kB / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4432, allocations: 0 / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.4432, allocations: 7.984 kB / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.4436, allocations: 37.58 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.4439, allocations: 154.2 kB / 414.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.4446, allocations: 0.6885 MB / 415.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.4446, allocations: 3.984 kB / 415.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.4447, allocations: 15.44 kB / 415.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4447, allocations: 0 / 415.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Templates: time 0.004013/0.4487, allocations: 0.4963 MB / 415.8 MB, free: 10.68 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches