Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001062/0.001062, allocations: 81.97 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001015/0.001015, allocations: 170.5 kB / 25.61 MB, free: 8.914 MB / 18.57 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 0.9434/0.9434, allocations: 177.2 MB / 206.1 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.805e-05, allocations: 2.312 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.007755/0.007773, allocations: 1.569 MB / 275.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.008184, allocations: 143.4 kB / 275.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.008264, allocations: 0 / 275.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.862e-05/0.008322, allocations: 4.562 kB / 275.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.008465, allocations: 11.92 kB / 275.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.00869, allocations: 36.44 kB / 275.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.008794, allocations: 40.78 kB / 276 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.008884, allocations: 7.984 kB / 276 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.724e-05/0.008941, allocations: 23.92 kB / 276 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.008981, allocations: 0.625 kB / 276 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.009001, allocations: 6.281 kB / 276 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.009013, allocations: 4 kB / 276 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.009061, allocations: 19.91 kB / 276 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.009087, allocations: 11.94 kB / 276.1 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.907e-05/0.009186, allocations: 31.83 kB / 276.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.009188, allocations: 3.938 kB / 276.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.009189, allocations: 5.312 kB / 276.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.009192, allocations: 0 / 276.1 MB, free: 2.52 MB / 250.7 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.00343/0.01262, allocations: 392.3 kB / 276.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.01266, allocations: 12.03 kB / 276.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.0127, allocations: 9.891 kB / 276.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.01287, allocations: 133.2 kB / 276.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.01289, allocations: 4.375 kB / 276.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.0129, allocations: 8.375 kB / 276.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.01313, allocations: 133.5 kB / 276.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.01314, allocations: 192 / 276.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.01315, allocations: 4.375 kB / 276.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.01315, allocations: 384 / 276.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.362e-05/0.01318, allocations: 11.92 kB / 276.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.01342, allocations: 244 kB / 277 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.01357, allocations: 70.17 kB / 277.1 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.01361, allocations: 27.42 kB / 277.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.01363, allocations: 3.938 kB / 277.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.01365, allocations: 33.39 kB / 277.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.01365, allocations: 0 / 277.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001511/0.0138, allocations: 61.52 kB / 277.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.01386, allocations: 85.09 kB / 277.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.01398, allocations: 185.9 kB / 277.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.01399, allocations: 29.83 kB / 277.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.01405, allocations: 138.8 kB / 277.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-06/0.01406, allocations: 0 / 277.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.0141, allocations: 27.31 kB / 277.7 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01424, allocations: 496.1 kB / 278.2 MB, free: 224 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.01425, allocations: 4 kB / 278.2 MB, free: 220 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.01426, allocations: 0 / 278.2 MB, free: 220 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.01428, allocations: 11.62 kB / 278.2 MB, free: 204 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01428, allocations: 4 kB / 278.2 MB, free: 200 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.235e-05/0.01433, allocations: 29.7 kB / 278.2 MB, free: 164 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.01435, allocations: 8.094 kB / 278.2 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.01435, allocations: 0 / 278.2 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.01436, allocations: 7.938 kB / 278.2 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.721e-05/0.0144, allocations: 0 / 278.2 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.0144, allocations: 3.984 kB / 278.2 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.01442, allocations: 8 kB / 278.2 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.01443, allocations: 0 / 278.2 MB, free: 136 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.961e-05/0.01452, allocations: 156.6 kB / 278.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.01459, allocations: 45.59 kB / 278.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.01462, allocations: 12.33 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.01462, allocations: 11.94 kB / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01462, allocations: 0 / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01463, allocations: 240 / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01476, allocations: 105.2 kB / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01476, allocations: 0 / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.01481, allocations: 8 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.01481, allocations: 3.984 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.01482, allocations: 0 / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01482, allocations: 0 / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01482, allocations: 4 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.01493, allocations: 207.5 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.01497, allocations: 11.94 kB / 278.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.01498, allocations: 8 kB / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.01504, allocations: 0 / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.01507, allocations: 0 / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01508, allocations: 7.938 kB / 278.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.558e-05/0.01514, allocations: 138 kB / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01514, allocations: 3.938 kB / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.01537, allocations: 4 kB / 279 MB, free: 15.35 MB / 266.7 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 9.114e-05/0.01546, allocations: 103.3 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.703e-05/0.01554, allocations: 19.67 kB / 279.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01554, allocations: 0 / 279.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.01555, allocations: 11.62 kB / 279.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.01586, allocations: 20.86 kB / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.01615, allocations: 152.8 kB / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.0162, allocations: 71.14 kB / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.593e-05/0.01621, allocations: 0 / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.01628, allocations: 78.31 kB / 279.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01628, allocations: 0 / 279.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Templates: time 0.005756/0.02203, allocations: 0.571 MB / 280 MB, free: 14.27 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.720269659999758]