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.001016/0.001016, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001038/0.001038, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.625 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 2.174e-06/2.174e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.507e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003774/0.003809, allocations: 1.576 MB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005345/0.004344, allocations: 147.4 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.004449, allocations: 4 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.531e-05/0.004514, allocations: 3.938 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.00468, allocations: 11.92 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.005, allocations: 39.78 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.005123, allocations: 27.92 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.00525, allocations: 11.98 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.005323, allocations: 23.91 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.005372, allocations: 11.98 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.005394, allocations: 4 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.005406, allocations: 4 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.005462, allocations: 11.94 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.005496, allocations: 7.938 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.005632, allocations: 39.83 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.005635, allocations: 0 / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005636, allocations: 3.938 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.005642, allocations: 0 / 274.9 MB, free: 15.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005054/0.006147, allocations: 392.4 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.006202, allocations: 8.031 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.006268, allocations: 16.89 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.006512, allocations: 136.5 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.006528, allocations: 4.375 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.006544, allocations: 4.375 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.006873, allocations: 129.5 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.006884, allocations: 192 / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.006897, allocations: 4.359 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.006907, allocations: 8.375 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.006939, allocations: 11.94 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.007289, allocations: 263.5 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.007476, allocations: 66.12 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.007524, allocations: 31.42 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.007546, allocations: 0 / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.007573, allocations: 37.33 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.007575, allocations: 0 / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002011/0.007776, allocations: 73.59 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.007829, allocations: 81.05 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.007952, allocations: 192.7 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.007965, allocations: 25.7 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.008029, allocations: 138.9 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.00804, allocations: 3.953 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.008079, allocations: 23.38 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.008239, allocations: 492.1 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.008252, allocations: 0 / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.008261, allocations: 0 / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.008295, allocations: 19.77 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.008297, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.856e-05/0.008376, allocations: 41.64 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.008393, allocations: 4 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.0084, allocations: 3.938 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.008415, allocations: 0 / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.008477, allocations: 8 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.008483, allocations: 0 / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.008502, allocations: 0 / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.008508, allocations: 0 / 277.1 MB, free: 13.18 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: 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 9.851e-05/0.008606, allocations: 164.6 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.008687, allocations: 45.66 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.008731, allocations: 16.27 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.008735, allocations: 3.938 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.00874, allocations: 4 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008744, allocations: 0 / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.008905, allocations: 120.6 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.008908, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.008963, allocations: 8 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.008967, allocations: 0 / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.008976, allocations: 7.984 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.008983, allocations: 7.938 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008984, allocations: 0 / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.009159, allocations: 207.6 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.009196, allocations: 11.95 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.00921, allocations: 7.875 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.009273, allocations: 11.92 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.009311, allocations: 4 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.009317, allocations: 0 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.612e-05/0.009393, allocations: 139.2 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009393, allocations: 0 / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.009645, allocations: 8 kB / 277.8 MB, free: 12.36 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 0.000109/0.009754, allocations: 95.25 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.009846, allocations: 19.67 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.009848, allocations: 0 / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.009864, allocations: 15.62 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.01023, allocations: 24.61 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.01058, allocations: 156.7 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.01064, allocations: 67.47 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.806e-05/0.01065, allocations: 0 / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.01069, allocations: 8.5 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01069, allocations: 0 / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Templates: time 0.002759/0.01345, allocations: 0.5345 MB / 278.7 MB, free: 11.38 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: 3.160217586904764]