Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.0009429/0.0009429, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009834/0.0009834, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.8732/0.8732, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.498e-05, allocations: 5.266 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001711/0.001726, allocations: 1.502 MB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.001923, allocations: 107.5 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.001975, allocations: 7.938 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.001997, allocations: 0 / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.354e-05/0.002031, allocations: 7.938 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.002201, allocations: 11.98 kB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.002267, allocations: 39.78 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.002329, allocations: 11.98 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.002368, allocations: 8 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.0024, allocations: 11.92 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.002418, allocations: 4 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-06/0.002425, allocations: 0 / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.002444, allocations: 11.98 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.431e-05/0.002458, allocations: 4 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.793e-05/0.002516, allocations: 23.86 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002518, allocations: 0 / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002519, allocations: 0 / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.002521, allocations: 0 / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002225/0.002744, allocations: 240.9 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.002772, allocations: 15.98 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.002794, allocations: 4.938 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.0029, allocations: 121.7 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.002906, allocations: 384 / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.002915, allocations: 8.375 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.003047, allocations: 100.5 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-06/0.003053, allocations: 192 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-06/0.003058, allocations: 384 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.003062, allocations: 384 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.003077, allocations: 7.938 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.265e-05/0.00313, allocations: 57.05 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.003184, allocations: 34.56 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.003201, allocations: 16.84 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.003211, allocations: 3.984 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.003228, allocations: 34.5 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.003228, allocations: 0 / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 7.555e-05/0.003304, allocations: 41.69 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.003334, allocations: 59.41 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.75e-05/0.003382, allocations: 110.7 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.003389, allocations: 25.7 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.674e-05/0.003406, allocations: 80.14 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-06/0.003407, allocations: 3.938 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.003422, allocations: 17.72 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.003484, allocations: 314.8 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-06/0.003486, allocations: 256 / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-06/0.003489, allocations: 3.938 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.003724, allocations: 83.28 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.003738, allocations: 75.28 kB / 276.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.883e-05/0.003766, allocations: 29.69 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.00379, allocations: 91.27 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.003806, allocations: 75.28 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/0.003838, allocations: 154.5 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.34e-05/0.003852, allocations: 83.28 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.721e-05/0.003879, allocations: 154.5 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.003913, allocations: 75.28 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.003929, allocations: 83.27 kB / 277.3 MB, free: 12.98 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 5.491e-05/0.003983, allocations: 185.1 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.004016, allocations: 49.8 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.004034, allocations: 8 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004036, allocations: 0 / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.004037, allocations: 0 / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.004039, allocations: 0 / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.054e-05/0.00408, allocations: 73.78 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.004082, allocations: 3.984 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.004125, allocations: 4 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.00413, allocations: 4 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.004133, allocations: 4 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.004135, allocations: 0 / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.004135, allocations: 0 / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.125e-05/0.004166, allocations: 61 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.004173, allocations: 7.953 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-06/0.00418, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.004187, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-06/0.00419, allocations: 4 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.004193, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.136e-05/0.004204, allocations: 16.84 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004204, allocations: 0 / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001044/0.004308, allocations: 3.938 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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 6.712e-05/0.004376, allocations: 88.59 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.146e-05/0.004407, allocations: 8 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.004409, allocations: 0 / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.004409, allocations: 0 / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.262e-05/0.004492, allocations: 25.03 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001521/0.004644, allocations: 111.5 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.302e-05/0.004667, allocations: 55.36 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.849e-06/0.004672, allocations: 0 / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.004698, allocations: 51.38 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.004698, allocations: 0 / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Templates: time 0.001335/0.006033, allocations: 328.1 kB / 278.3 MB, free: 11.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.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.489942206069827]